blob: cb129a139f39ce8b7dcd3ff90a0c00d085356eca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// RUN: clang-cc -emit-llvm -o %t %s
// pr5025
// radar 7405040
typedef const struct objc_selector {
void *sel_id;
const char *sel_types;
} *SEL;
@interface I2
+(id) dictionary;
@end
@implementation I3; // expected-warning {{cannot find interface declaration for 'I3'}}
+(void) initialize {
I2 *a0 = [I2 dictionary];
}
@end
|