1 // RUN: llvm-tblgen %s | FileCheck %s
7 // CHECK: foo Y = anonymous_0;
11 // CHECK: foo Z = anonymous_1;
14 // CHECK: def anonymous_0 {
15 // CHECK: int THEVAL = 1;
18 // CHECK: def anonymous_1 {
19 // CHECK: int THEVAL = 42;
22 class foo<int X> { int THEVAL = X; }
26 foo Y = foo_imp; // This works.
30 foo Y = foo<1>; // This should work too, synthesizing a new foo<1>.