23 lines · plain
1// RUN: %clang_cc1 -emit-llvm -o %t %s2// pr50253 4typedef const struct objc_selector {5 void *sel_id;6 const char *sel_types;7} *SEL;8 9@interface I210+(id) dictionary;11@end12 13@implementation I3; // expected-warning {{cannot find interface declaration for 'I3'}}14+(void) initialize {15 I2 *a0 = [I2 dictionary];16}17@end18 19int func(SEL s1, SEL s2)20{21 return s1->sel_id == s2->sel_id;22}23