Debian Codegraph @

clang/test/CodeGenObjC/class-type.m

raw
1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s
2 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s
3 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s
4
5
6 @interface I0 {
7 struct { int a; } a;
8 }
9 @end
10
11 @class I2;
12
13 @interface I1 {
14 I2 *_imageBrowser;
15 }
16 @end
17
18 @implementation I1
19 @end
20
21 @interface I2 : I0
22 @end
23
24 @implementation I2
25 @end
26
27
28 // Implementations without interface declarations.
29 @class foo;
30 @implementation foo
31 @end
32
33 @implementation bar
34 @end
35