repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
TableGen
/
MultiClassDefName.td
blob
138c93d9bb0c408cc7e707bb377ae7a58bf37e54
1
// RUN: tblgen %s | grep WorldHelloCC | count 1
2
// XFAIL: vg_leak
3
4
class C<string n> {
5
string name = n;
6
}
7
8
multiclass Names<string n, string m> {
9
def CC : C<n>;
10
def World#NAME#CC : C<m>;
11
}
12
13
defm Hello : Names<"hello", "world">;