• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
12id s = @"123"; // simple
13id t = @"123" @"456"; // concat
14id u = @"123" @ blah; // expected-error {{unexpected token}}
15
16