[cfe-commits] r68263 - /cfe/trunk/test/Sema/builtins.c
Mike Stump
mrs at apple.com
Wed Apr 1 17:04:13 PDT 2009
Author: mrs
Date: Wed Apr 1 19:04:12 2009
New Revision: 68263
URL: http://llvm.org/viewvc/llvm-project?rev=68263&view=rev
Log:
We no longer expect an warning as this is now valid.
Modified:
cfe/trunk/test/Sema/builtins.c
Modified: cfe/trunk/test/Sema/builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/builtins.c?rev=68263&r1=68262&r2=68263&view=diff
==============================================================================
--- cfe/trunk/test/Sema/builtins.c (original)
+++ cfe/trunk/test/Sema/builtins.c Wed Apr 1 19:04:12 2009
@@ -25,7 +25,7 @@
#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}}
More information about the cfe-commits
mailing list