// RUN: %llvmgcc -x objective-c -m64 -c %s -o /dev/null
@interface A
@end
@protocol P
@interface B : A <P>
{
}
@implementation B
- (void)test {