repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove the "old" at&t style asmprinter. Unfortunately, most of the
[llvm/avr.git]
/
test
/
TableGen
/
ListSlices.td
blob
be794cf2174adb6071230b23cf18e2b1cf32c47f
1
// RUN: tblgen %s
2
3
def A {
4
list<int> B = [10, 20, 30, 4, 1, 1231, 20];
5
}
6
7
def B {
8
list<int> X = [10, 20, 30, 4, 1, 1231, 20] [2-4,2,2,0-6];
9
10
list<int> Y = X[4,5];
11
int Z = X[4];
12
13
list<int> C = A.B[1-4];
14
15
list<list<int>> AA = [X, Y];
16
17
int BB = AA[0][1];
18
}