repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm-exegesis][NFC] Improve parsing of the YAML files
[llvm-core.git]
/
test
/
TableGen
/
template-arg-dependency.td
blob
04eba7cc6b37b9a6bc72ba58506490f534fa7476
1
// RUN: llvm-tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
4
// CHECK: --- Defs ---
5
6
// CHECK: def A0 {
7
// CHECK: int ret = 3;
8
// CHECK: }
9
10
class A<int a,
11
int b = !add(a, 1),
12
int sum = !add(a, b)> {
13
int ret = sum;
14
}
15
16
def A0 : A<1>;