aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendObjC/2008-11-24-ConstCFStrings.m
blob: 976adc47f12ab8ef6131603fc5c87928e33ab961 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgcc -x objective-c -m64 -S %s -o - | grep {L_unnamed_cfstring_}

@class NSString;

@interface A
- (void)bork:(NSString*)msg;
@end

void func(A *a) {
  [a bork:@"Hello world!"];
}