Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | // RUN: tblgen %s |
2 | |||||
3 | // Make sure there is no collision between XX and XX. | ||||
4 | def S; | ||||
5 | |||||
6 | class Before<int XX>; | ||||
7 | class After : Before<4> { | ||||
8 | dag XX = (S); | ||||
9 | } | ||||
10 | |||||
11 | |||||
12 | |||||
13 | class C1<int X> { | ||||
14 | int Y = X; | ||||
15 | } | ||||
16 | class C2<int Y, dag X> : C1<Y>; | ||||
17 |