llvm-6502/test/TableGen/TemplateArgRename.td
Chris Lattner 93fc714b1d Make this significantly harder
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21342 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-19 02:58:57 +00:00

18 lines
216 B
TableGen

// RUN: tblgen %s
// 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>;