| 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only |
|---|---|
| 2 | // RUN: %clang_cc1 %s -verify -fsyntax-only -DDECLAREIT |
| 3 | |
| 4 | // a declaration of NSConstantString is not required. |
| 5 | #ifdef DECLAREIT |
| 6 | @interface NSConstantString; |
| 7 | @end |
| 8 | #endif |
| 9 | |
| 10 | |
| 11 | |
| 12 | id s = @"123"; // simple |
| 13 | id t = @"123" @"456"; // concat |
| 14 | id u = @"123" @ blah; // expected-error {{unexpected token}} |
| 15 | |
| 16 |