YouCompleteMe/cpp/llvm/test/TableGen/TemplateArgRename.td

19 lines
239 B
TableGen
Raw Normal View History

2012-07-05 20:51:06 -04:00
// 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>;