blob: 0b5b7c10d0bd2ff3b6b58c7f1d6d15e54d1b3324 [file] [log] [blame]
@class SUPER, Y;
@interface INTF :SUPER // expected-error {{cannot find interface declaration for 'SUPER', superclass of 'INTF'}}
@end
@interface SUPER @end
@interface INTF1 : SUPER
@end
@interface INTF2 : INTF1
@end
@interface INTF3 : Y // expected-error {{cannot find interface declaration for 'Y', superclass of 'INTF3'}}
@end
@interface INTF1 // expected-error {{duplicate interface declaration for class 'INTF1'}}
@end