annotate clang/test/CodeGenObjC/property-list-in-class.m @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s
anatofuz
parents:
diff changeset
2 // CHECK: _OBJC_$_PROP_LIST_C2" = internal global { i32, i32, [3 x %struct._prop_t] } { i32 16, i32 3
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 @protocol P
anatofuz
parents:
diff changeset
5 @property int i;
anatofuz
parents:
diff changeset
6 @end
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 @protocol P1
anatofuz
parents:
diff changeset
9 @property int i1;
anatofuz
parents:
diff changeset
10 @end
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 @protocol P2 < P1>
anatofuz
parents:
diff changeset
13 @property int i2;
anatofuz
parents:
diff changeset
14 @end
anatofuz
parents:
diff changeset
15
anatofuz
parents:
diff changeset
16 @interface C1 { id isa; } @end
anatofuz
parents:
diff changeset
17
anatofuz
parents:
diff changeset
18 @interface C2 : C1 <P, P2> {
anatofuz
parents:
diff changeset
19 int i;
anatofuz
parents:
diff changeset
20 }
anatofuz
parents:
diff changeset
21 @property int i2;
anatofuz
parents:
diff changeset
22 @end
anatofuz
parents:
diff changeset
23
anatofuz
parents:
diff changeset
24 @implementation C1
anatofuz
parents:
diff changeset
25 +(void)initialize { }
anatofuz
parents:
diff changeset
26 @end
anatofuz
parents:
diff changeset
27
anatofuz
parents:
diff changeset
28 @implementation C2
anatofuz
parents:
diff changeset
29 @synthesize i;
anatofuz
parents:
diff changeset
30 @synthesize i1;
anatofuz
parents:
diff changeset
31 @synthesize i2;
anatofuz
parents:
diff changeset
32 @end