blob: 4eae1ae6eab61f846e965977ae6e590dd3ca607c [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// 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
Chris Lattnerb7b58b12009-04-19 06:02:28 +00004
Fariborz Jahanianf3710ba2009-02-14 20:13:28 +00005
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
Chris Lattnerb7b58b12009-04-19 06:02:28 +000028// Implementations without interface declarations.
29// rdar://6804402
30@class foo;
31@implementation foo
32@end
33
34@implementation bar
35@end
36