From: Mike Stump Date: Thu, 2 Apr 2009 00:04:12 +0000 (+0000) Subject: We no longer expect an warning as this is now valid. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c561367f6730e2795f72f31c52b39b007e952e7b;p=clang 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 --- 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}}