16 lines · plain
1// RUN: %clang_cc1 %s -verify -fsyntax-only2// RUN: %clang_cc1 %s -verify -fsyntax-only -DDECLAREIT3 4// a declaration of NSConstantString is not required.5#ifdef DECLAREIT6@interface NSConstantString;7@end8#endif9 10 11 12id s = @"123"; // simple13id t = @"123" @"456"; // concat14id u = @"123" @ blah; // expected-error {{unexpected token}}15 16