20 lines · plain
1// RUN: %clang_cc1 -ast-print %s2 3@protocol P1 @end4@protocol P2 @end5@protocol P3 @end6 7@interface INTF 8- (INTF<P1>*) METH;9@end10 11void foo(void)12{13 INTF *pintf;14 INTF<P1>* p1;15 INTF<P1, P1>* p2;16 INTF<P1, P3>* p3;17 INTF<P1, P3, P2>* p4;18 INTF<P2,P2, P3, P1>* p5;19}20