summaryrefslogtreecommitdiff
path: root/clang/test/Rewriter/objc-string-concat-1.m
blob: 80a9f04651dd76a92ca759c95820602c2720704b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 -rewrite-objc -fobjc-fragile-abi  %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