llvm-project/llvm/test/TableGen/TemplateArgRename.td

19 lines
234 B
TableGen
Raw Normal View History

2005-04-19 10:53:26 +08:00
// RUN: tblgen %s
// XFAIL: vg_leak
2005-04-19 10:26:23 +08:00
// Make sure there is no collision between XX and XX.
2005-04-19 10:52:04 +08:00
def S;
2005-04-19 10:26:23 +08:00
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>;