From: Ted Kremenek Date: Tue, 16 Feb 2010 01:47:05 +0000 (+0000) Subject: Fix test case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0395618b6f3a57137abf6d29284e0eef6177c0ad;p=clang Fix test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96311 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;