repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.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>;