repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git]
/
test
/
TableGen
/
AnonDefinitionOnDemand.td
blob
b10ad5870de194c311378d5f0d10bb5f89623622
1
// RUN: tblgen < %s
2
// XFAIL: vg_leak
3
4
class foo<int X> { int THEVAL = X; }
5
def foo_imp : foo<1>;
6
7
def x {
8
foo Y = foo_imp; // This works.
9
}
10
11
def X {
12
foo Y = foo<1>; // This should work too, synthesizing a new foo<1>.
13
}