From 0395618b6f3a57137abf6d29284e0eef6177c0ad Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 16 Feb 2010 01:47:05 +0000 Subject: [PATCH] Fix test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96311 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/format-strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0