Fix test case.

llvm-svn: 96311
This commit is contained in:
Ted Kremenek 2010-02-16 01:47:05 +00:00
parent c8b188d541
commit ccf701d375
1 changed files with 1 additions and 1 deletions

View File

@ -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;