1// RUN: %clang_cc1 -emit-llvm -o %t %s
2// pr5025
3// radar 7405040
4
5typedef const struct objc_selector {
6  void *sel_id;
7  const char *sel_types;
8} *SEL;
9
10@interface I2
11+(id) dictionary;
12@end
13
14@implementation I3; // expected-warning {{cannot find interface declaration for 'I3'}}
15+(void) initialize {
16  I2 *a0 = [I2 dictionary];
17}
18@end
19
20int func(SEL s1, SEL s2)
21{
22        return s1->sel_id == s2->sel_id;
23}
24