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
zpu: wip eke out some simple instructions for load/store/add
[llvm/zpu.git]
/
test
/
TableGen
/
ListSlices.td
blob
5848a4e487042660cffd147eab11548e136d6563
1
// RUN: tblgen %s
2
// XFAIL: vg_leak
3
4
def A {
5
list<int> B = [10, 20, 30, 4, 1, 1231, 20];
6
}
7
8
def B {
9
list<int> X = [10, 20, 30, 4, 1, 1231, 20] [2-4,2,2,0-6];
10
11
list<int> Y = X[4,5];
12
int Z = X[4];
13
14
list<int> C = A.B[1-4];
15
16
list<list<int>> AA = [X, Y];
17
18
int BB = AA[0][1];
19
}