llvm-mirror/test/TableGen/TemplateArgRename.td

18 lines
216 B
TableGen
Raw Normal View History

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