Merge from mainline.
[llvm-complete.git] / test / TableGen / AnonDefinitionOnDemand.td
blobd567fc807e85ffd71ec2036f2e8305e7fb907c05
1 // RUN: tblgen < %s
3 class foo<int X> { int THEVAL = X; }
4 def foo_imp : foo<1>;
6 def x {
7   foo Y = foo_imp;    // This works.
10 def X {
11   foo Y = foo<1>;     // This should work too, synthesizing a new foo<1>.