aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/TemplateArgRename.td
blob: 654b86dc03e2fd925c0d6e3548b082c6ebf8b721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: llvm-tblgen %s
// XFAIL: vg_leak

// Make sure there is no collision between XX and XX.
def S;

class Before<int XX>;
class After : Before<4> {
  dag XX = (S);
}



class C1<int X> {
  int Y = X;
}
class C2<int Y, dag X> : C1<Y>;