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
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
TableGen
/
ListArgs.td
blob
4d2713a1cabbc7e83d4965e9a146f091458f90d4
1
// RUN: llvm-tblgen %s
2
// XFAIL: vg_leak
3
4
class B<list<int> v> {
5
list<int> vals = v;
6
}
7
8
class BB<list<list<int>> vals> : B<vals[0]>;
9
class BBB<list<list<int>> vals> : BB<vals>;
10
11
def OneB : BBB<[[1,2,3]]>;
12
def TwoB : BBB<[[1,2,3],[4,5,6]]>;
13
14
def ThreeB: BBB<[[1,2,3],
15
[4,5,6],
16
]>;