34 lines · plain
1// RUN: %clang_cc1 -emit-llvm -o %t %s2 3@interface BaseClass {4 id _delegate;5}6@end7 8@protocol MyProtocol9@optional10@property(assign) id delegate;11@end12 13@protocol AnotherProtocol14@optional15@property(assign) id myanother;16@end17 18@protocol SubProtocol <MyProtocol>19@property(assign) id another;20@end21 22@interface SubClass : BaseClass <SubProtocol, AnotherProtocol> {23}24 25@end26 27@implementation BaseClass @end 28 29@implementation SubClass30@synthesize delegate = _Subdelegate;31@synthesize another;32@synthesize myanother;33@end34