diff options
Diffstat (limited to 'clang/test/Sema/builtins.c')
| -rw-r--r-- | clang/test/Sema/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/builtins.c b/clang/test/Sema/builtins.c index 4072faa94b9..64efefc7fda 100644 --- a/clang/test/Sema/builtins.c +++ b/clang/test/Sema/builtins.c @@ -27,7 +27,7 @@ int test6(float a, long double b) { void test7() { const void *X; X = CFSTR("\242"); // expected-warning {{input conversion stopped}} - X = CFSTR("\0"); // expected-warning {{ CFString literal contains NUL character }} + X = CFSTR("\0"); // no-warning X = CFSTR(242); // expected-error {{ CFString literal is not a string constant }} expected-warning {{incompatible integer to pointer conversion}} X = CFSTR("foo", "bar"); // expected-error {{too many arguments to function call}} } |

