1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 @interface NSObject @end
11 @protocol ProtocolB <ProtocolA>
15 @interface Foo : NSObject <ProtocolB>
19 @interface SubFoo : Foo
23 @implementation SubFoo
26 return [super classMethod];
30 return [super instanceMethod];