diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-07-26 01:04:40 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-07-26 01:04:40 +0000 |
| commit | 31236f87444b39db2857c82e22cfdb15f1fd9a16 (patch) | |
| tree | 0035942affe068e2db91add75dc545a71aefeab2 /clang/test/SemaObjC/string.m | |
| parent | 89026888ef6f80b5e271c3d08666001f998eca74 (diff) | |
| download | bcm5719-llvm-31236f87444b39db2857c82e22cfdb15f1fd9a16.tar.gz bcm5719-llvm-31236f87444b39db2857c82e22cfdb15f1fd9a16.zip | |
remove objc prefixes from these tests.
llvm-svn: 54085
Diffstat (limited to 'clang/test/SemaObjC/string.m')
| -rw-r--r-- | clang/test/SemaObjC/string.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/string.m b/clang/test/SemaObjC/string.m new file mode 100644 index 00000000000..e3974ad8f66 --- /dev/null +++ b/clang/test/SemaObjC/string.m @@ -0,0 +1,15 @@ +// RUN: clang %s -verify -fsyntax-only && +// RUN: clang %s -verify -fsyntax-only -DDECLAREIT + +// a declaration of NSConstantString is not required. +#ifdef DECLAREIT +@interface NSConstantString; +@end +#endif + + + +id s = @"123"; // simple +id t = @"123" @"456"; // concat +id u = @"123" @ blah; // expected-error: {{unexpected token}} + |

