llvm-6502/test/FrontendObjC/2008-11-24-ConstCFStrings.m
Bill Wendling 9822296b18 Testcase for constant CFStrings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59992 91177308-0d34-0410-b5e6-96231b3b80d8
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!"];
}