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()
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