diff options
author | Mike Stump <mrs@apple.com> | 2009-04-02 00:04:12 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-04-02 00:04:12 +0000 |
commit | c561367f6730e2795f72f31c52b39b007e952e7b (patch) | |
tree | 71ef0b09dda9d2c63f9af0e0628f4ccb8eb8100e | |
parent | a3a835149ed4b183e3b009a1f94a6123779d696b (diff) |
We no longer expect an warning as this is now valid.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68263 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Sema/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/builtins.c b/test/Sema/builtins.c index 90908552fe..0781abc7b9 100644 --- a/test/Sema/builtins.c +++ b/test/Sema/builtins.c @@ -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}} |