1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 @interface NSObject @end
12 @protocol ProtocolB <ProtocolA>
16 @interface Foo : NSObject <ProtocolB>
20 @interface SubFoo : Foo
24 @implementation SubFoo
27 return [super classMethod];
31 return [super instanceMethod];
41 @interface I1 : NSObject
48 @interface I2 : NSObject
52 @interface I2() <ProtC>
56 - document { return 0; }