Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git] / test / TableGen / AnonDefinitionOnDemand.td
blobb10ad5870de194c311378d5f0d10bb5f89623622
1 // RUN: tblgen < %s
2 // XFAIL: vg_leak
4 class foo<int X> { int THEVAL = X; }
5 def foo_imp : foo<1>;
7 def x {
8   foo Y = foo_imp;    // This works.
11 def X {
12   foo Y = foo<1>;     // This should work too, synthesizing a new foo<1>.