1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t %s
2 // RUN: FileCheck < %t %s
8 -(void)foo:(Z)a : (char*)b : (Z)c : (double) d;
13 -(void)foo:(Z)a: (char*)b : (Z)c : (double) d {}
16 // CHECK: private unnamed_addr constant [14 x i8] c"v16@0:8{?=}16
17 // CHECK: private unnamed_addr constant [26 x i8] c"v32@0:8{?=}16*16{?=}24d24
19 @interface NSObject @end
22 typedef BABugExample BABugExampleRedefinition;
24 @interface BABugExample : NSObject {
25 BABugExampleRedefinition *_property; // .asciz "^{BABugExample=^{BABugExample}}"
27 @property (copy) BABugExampleRedefinition *property;
30 @implementation BABugExample
31 @synthesize property = _property;
34 // CHECK: private unnamed_addr constant [8 x i8] c"@16
37 typedef SCNCamera C3DCamera;
40 C3DCamera *presentationInstance;
46 @implementation SCNCamera
48 C3DCameraStorage _storage;
51 // CHECK: private unnamed_addr constant [39 x i8] c"{?=\22presentationInstance\22@\22SCNCamera\22}\00"
54 typeof(@encode(typeof(i))) e = @encode(typeof(i));
55 const char * Test(void)
59 // CHECK: @e ={{.*}} global [2 x i8] c"i\00", align 1
60 // CHECK: define{{.*}} ptr @Test()