[cfe-commits] r96311 - /cfe/trunk/test/Sema/format-strings.c
Ted Kremenek
kremenek at apple.com
Mon Feb 15 17:47:05 PST 2010
Author: kremenek
Date: Mon Feb 15 19:47:05 2010
New Revision: 96311
URL: http://llvm.org/viewvc/llvm-project?rev=96311&view=rev
Log:
Fix test case.
Modified:
cfe/trunk/test/Sema/format-strings.c
Modified: cfe/trunk/test/Sema/format-strings.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/format-strings.c?rev=96311&r1=96310&r2=96311&view=diff
==============================================================================
--- cfe/trunk/test/Sema/format-strings.c (original)
+++ cfe/trunk/test/Sema/format-strings.c Mon Feb 15 19:47:05 2010
@@ -186,7 +186,7 @@
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;
More information about the cfe-commits
mailing list