summaryrefslogtreecommitdiffstats
path: root/test/Rewriter/objc-string-concat-1.m
blob: b1f95e052cb83c10310f2b59c85f20ea3ac6a1cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: clang-cc -rewrite-objc %s -o -

@class NSString;

@interface NSConstantString;
@end



NSConstantString *t0 = @"123";
NSConstantString *t = @"123"     @"4567"; // concat
NSConstantString *t1 = @"123"     @"4567" /* COMMENT */ @"89"; // concat
NSConstantString *t2 = @"123"     @/* COMMENT */ "4567"; // concat

OpenPOWER on IntegriCloud