repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove the "old" at&t style asmprinter. Unfortunately, most of the
[llvm/avr.git]
/
test
/
TableGen
/
AnonDefinitionOnDemand.td
blob
d567fc807e85ffd71ec2036f2e8305e7fb907c05
1
// RUN: tblgen < %s
2
3
class foo<int X> { int THEVAL = X; }
4
def foo_imp : foo<1>;
5
6
def x {
7
foo Y = foo_imp; // This works.
8
}
9
10
def X {
11
foo Y = foo<1>; // This should work too, synthesizing a new foo<1>.
12
}