]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGenObjC/encode-test-6.m
Vendor import of clang trunk r161861:
[FreeBSD/FreeBSD.git] / test / CodeGenObjC / encode-test-6.m
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t %s
2 // RUN: FileCheck < %t %s
3 // rdar://11777609
4
5 typedef struct {} Z;
6
7 @interface A
8 -(void)bar:(Z)a;
9 -(void)foo:(Z)a : (char*)b : (Z)c : (double) d;
10 @end
11
12 @implementation A
13 -(void)bar:(Z)a {}
14 -(void)foo:(Z)a: (char*)b : (Z)c : (double) d {}
15 @end
16
17 // CHECK: internal global [14 x i8] c"v16@0:8{?=}16
18 // CHECK: internal global [26 x i8] c"v32@0:8{?=}16*16{?=}24d24
19