annotate clang/test/Rewriter/objc-string-concat-1.m @ 237:c80f45b162ad llvm-original

add some fix
author kono
date Wed, 09 Nov 2022 17:47:54 +0900
parents 1d019706d866
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