llvm-6502/test/FrontendObjC/2008-11-24-ConstCFStrings.m

12 lines
192 B
Mathematica
Raw Normal View History

// 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!"];
}