llvm.org GIT mirror llvm / d0d1d39
x and X should be structurally identical git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23273 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // RUN: tblgen < %s
1
2 class foo { int THEVAL = X; }
3 def foo_imp : foo<1>;
4
5 def x {
6 foo Y = foo_imp; // This works.
7 }
8
9 def X {
10 foo Y = foo<1>; // This should work too, synthesizing a new foo<1>.
11 }