brintos

brintos / llvm-project-archived public Read only

0
0
Text · 542 B · 2ecae8b Raw
28 lines · plain
1// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5  %s -o -2 3@protocol MyProto1 4@end5 6@protocol MyProto27@end8 9@interface INTF @end10 11INTF <MyProto1> *g1;12 13INTF <MyProto1, MyProto2> *g2, *g3;14 15INTF <MyProto1> * Func(INTF <MyProto1> *p2, INTF<MyProto1> *p3, INTF *p4, INTF<MyProto1> *p5)16{17	return p2;18}19 20INTF <MyProto1, MyProto2> * Func1(INTF *p2, INTF<MyProto1, MyProto2> *p3, INTF *p4, INTF<MyProto1> *p5)21{22	return p3;23}24 25@interface Foo26@property int (*hashFunction)(const void *item, int (*size)(const void *item));27@end28