mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 03:29:40 +00:00
Testcase for constant CFStrings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
85fa13c02d
commit
9822296b18
11
test/FrontendObjC/2008-11-24-ConstCFStrings.m
Normal file
11
test/FrontendObjC/2008-11-24-ConstCFStrings.m
Normal file
@ -0,0 +1,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!"];
|
||||
}
|
Loading…
Reference in New Issue
Block a user