summaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/2008-11-24-ConstCFStrings.m
blob: 53eec2ab050089c4e34e9dae0ec1b4d7f94db023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 %s -o - | FileCheck %s

// CHECK: _unnamed_cfstring_

@class NSString;

@interface A
- (void)bork:(NSString*)msg;
@end

void func(A *a) {
  [a bork:@"Hello world!"];
}