summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-02-16 01:47:05 +0000
committerTed Kremenek <kremenek@apple.com>2010-02-16 01:47:05 +0000
commitccf701d375fce00dc492710a085ebed2533130b1 (patch)
tree81446b93e83e50b4dc73f07ecec856d36a936084 /clang/test/Sema
parentc8b188d541d3e62a9628829d29730b40f8283da9 (diff)
downloadbcm5719-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.c2
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;
OpenPOWER on IntegriCloud