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 | 0395618b6f3a57137abf6d29284e0eef6177c0ad (patch) | |
tree | bdc4eae2ad3c23e7fc21c6c2a7f59d3caa49c3f7 /test/Sema/format-strings.c | |
parent | 4e4b30ec62d78b24e6556fea2624855c193d0e3e (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.c | 2 |
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; |