llvm-project
19 строк · 274.0 Байт
1// RUN: %clang_cc1 -ast-print %s
2
3@protocol P1 @end
4@protocol P2 @end
5@protocol P3 @end
6
7@interface INTF
8- (INTF<P1>*) METH;
9@end
10
11void foo(void)
12{
13INTF *pintf;
14INTF<P1>* p1;
15INTF<P1, P1>* p2;
16INTF<P1, P3>* p3;
17INTF<P1, P3, P2>* p4;
18INTF<P2,P2, P3, P1>* p5;
19}
20