protocol-in-extended-class.m [plain text]
// REQUIRES: x86-registered-target,x86-64-registered-target
// RUN: // RUN: FileCheck -check-prefix LP64 --input-file=// RUN: // RUN: FileCheck -check-prefix LP32 --input-file=
@protocol MyProtocol
@end
@protocol ExtendedProtocol
@end
@interface ItDoesntWork<MyProtocol> {
}
-(void) Meth;
@end
@interface ItDoesntWork() <MyProtocol, ExtendedProtocol>
@end
@implementation ItDoesntWork
-(void) Meth {
ItDoesntWork <MyProtocol, ExtendedProtocol> *p = 0;
}
@end
// CHECK-LP64: l_OBJC_PROTOCOL_$_ExtendedProtocol:
// CHECK-LP32: L_OBJC_PROTOCOL_ExtendedProtocol: