annotate clang/test/Rewriter/objc-string-concat-1.m @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o -
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 @class NSString;
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 @interface NSConstantString;
anatofuz
parents:
diff changeset
6 @end
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 NSConstantString *t0 = @"123";
anatofuz
parents:
diff changeset
11 NSConstantString *t = @"123" @"4567"; // concat
anatofuz
parents:
diff changeset
12 NSConstantString *t1 = @"123" @"4567" /* COMMENT */ @"89"; // concat
anatofuz
parents:
diff changeset
13 NSConstantString *t2 = @"123" @/* COMMENT */ "4567"; // concat
anatofuz
parents:
diff changeset
14