diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-16 01:47:05 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-16 01:47:05 +0000 |
commit | ccf701d375fce00dc492710a085ebed2533130b1 (patch) | |
tree | 81446b93e83e50b4dc73f07ecec856d36a936084 /clang/test/Sema | |
parent | c8b188d541d3e62a9628829d29730b40f8283da9 (diff) | |
download | bcm5719-llvm-ccf701d375fce00dc492710a085ebed2533130b1.tar.gz bcm5719-llvm-ccf701d375fce00dc492710a085ebed2533130b1.zip |
Fix test case.
llvm-svn: 96311
Diffstat (limited to 'clang/test/Sema')
-rw-r--r-- | clang/test/Sema/format-strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/format-strings.c b/clang/test/Sema/format-strings.c index ab37e3abdd6..8c2788d3a25 100644 --- a/clang/test/Sema/format-strings.c +++ b/clang/test/Sema/format-strings.c @@ -186,7 +186,7 @@ void test11(void *p, char *s) { void test12() { unsigned char buf[4]; printf ("%.4s\n", buf); // no-warning - printf ("%.4s\n", &buf); // expected-result{{conversion specifies type 'char *' but the argument has type 'unsigned char (*)[4]'}} + printf ("%.4s\n", &buf); // expected-warning{{conversion specifies type 'char *' but the argument has type 'unsigned char (*)[4]'}} } typedef struct __aslclient *aslclient; |