brintos

brintos / llvm-project-archived public Read only

0
0
Text · 428 B · dbf9d38 Raw
28 lines · plain
1// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5  %s -o -2 3@protocol Proto4- (void) ProtoDidget;5@end6 7@protocol MyProto <Proto>8- (void) widget;9@end10 11@interface Foo 12- (void)StillMode;13@end14 15@interface Container16+ (void)MyMeth;17@end18 19@implementation Container20+ (void)MyMeth21{22  Foo *view;23  [(Foo <MyProto> *)view StillMode];24  [(Foo <MyProto> *)view widget];25  [(Foo <MyProto> *)view ProtoDidget];26}27@end28