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 | // rdar://6804402 |
30 | @class foo; |
31 | @implementation foo |
32 | @end |
33 | |
34 | @implementation bar |
35 | @end |
36 | |
37 | |