aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/format-strings.c
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
commit0395618b6f3a57137abf6d29284e0eef6177c0ad (patch)
treebdc4eae2ad3c23e7fc21c6c2a7f59d3caa49c3f7 /test/Sema/format-strings.c
parent4e4b30ec62d78b24e6556fea2624855c193d0e3e (diff)
Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/format-strings.c')
-rw-r--r--test/Sema/format-strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/format-strings.c b/test/Sema/format-strings.c
index ab37e3abdd..8c2788d3a2 100644
--- a/test/Sema/format-strings.c
+++ b/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;