repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
2008-11-24-ConstCFStrings.m
blob
53eec2ab050089c4e34e9dae0ec1b4d7f94db023
1
// RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 %s -o - | FileCheck %s
2
3
// CHECK: _unnamed_cfstring_
4
5
@class NSString;
6
7
@interface A
8
- (void)bork:(NSString*)msg;
9
@end
10
11
void func(A *a) {
12
[a bork:@"Hello world!"];
13
}