Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/TableGen/TemplateArgRename.td @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 // RUN: llvm-tblgen %s | |
2 // XFAIL: vg_leak | |
3 | |
4 // Make sure there is no collision between XX and XX. | |
5 def S; | |
6 | |
7 class Before<int XX>; | |
8 class After : Before<4> { | |
9 dag XX = (S); | |
10 } | |
11 | |
12 | |
13 | |
14 class C1<int X> { | |
15 int Y = X; | |
16 } | |
17 class C2<int Y, dag X> : C1<Y>; | |
18 |