1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendObjC/2008-11-24-ConstCFStrings.m
Bill Wendling cb92038dbd Testcase for constant CFStrings.
llvm-svn: 59992
2008-11-24 23:28:09 +00:00

12 lines
192 B
Objective-C

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