1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/TableGen/TemplateArgRename.td

18 lines
216 B
TableGen
Raw Normal View History

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