]> granicus.if.org Git - clang/commitdiff
We no longer expect an warning as this is now valid.
authorMike Stump <mrs@apple.com>
Thu, 2 Apr 2009 00:04:12 +0000 (00:04 +0000)
committerMike Stump <mrs@apple.com>
Thu, 2 Apr 2009 00:04:12 +0000 (00:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68263 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/builtins.c

index 90908552fe12c31c44b7056f407e69f8cbc1ee89..0781abc7b9e05b56003d202609096208f76ab022 100644 (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}}