Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -ast-print %s |
Fariborz Jahanian | 243b64b | 2007-10-11 23:42:27 +0000 | [diff] [blame] | 2 | |
3 | @protocol P1 @end | ||||
4 | @protocol P2 @end | ||||
5 | |||||
6 | @interface INTF @end | ||||
7 | |||||
8 | @compatibility_alias alias INTF; | ||||
9 | |||||
10 | |||||
11 | int foo () | ||||
12 | { | ||||
13 | INTF *pi; | ||||
14 | INTF<P2,P1> *pi2; | ||||
15 | alias *p; | ||||
16 | alias<P1,P2> *p2; | ||||
17 | return pi2 == p2; | ||||
18 | } |