We no longer expect an warning as this is now valid.
llvm-svn: 68263
This commit is contained in:
parent
98f912bf13
commit
21c81fdce4
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue