We no longer expect an warning as this is now valid.

llvm-svn: 68263
This commit is contained in:
Mike Stump 2009-04-02 00:04:12 +00:00
parent 98f912bf13
commit 21c81fdce4
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ int test6(float a, long double b) {
#define CFSTR __builtin___CFStringMakeConstantString
void cfstring() {
CFSTR("\242"); // expected-warning {{ CFString literal contains non-ASCII character }}
CFSTR("\242");
CFSTR("\0"); // expected-warning {{ CFString literal contains NUL character }}
CFSTR(242); // expected-error {{ CFString literal is not a string constant }} expected-warning {{incompatible integer to pointer conversion}}
CFSTR("foo", "bar"); // expected-error {{too many arguments to function call}}