comparison clang/test/SemaObjC/string.m @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
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