Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
3a8ff4c8b67d12689cb5fc9c0e9606f4530e6f41
/
.
/
test
/
TableGen
/
ListSlices.td
blob: be794cf2174adb6071230b23cf18e2b1cf32c47f [
file
] [
log
] [
blame
]
// RUN: tblgen %s
def
A
{
list
<int>
B
=
[
10
,
20
,
30
,
4
,
1
,
1231
,
20
];
}
def
B
{
list
<int>
X
=
[
10
,
20
,
30
,
4
,
1
,
1231
,
20
]
[
2
-
4
,
2
,
2
,
0
-
6
];
list
<int>
Y
=
X
[
4
,
5
];
int
Z
=
X
[
4
];
list
<int>
C
=
A
.
B
[
1
-
4
];
list
<
list
<int>
>
AA
=
[
X
,
Y
];
int
BB
=
AA
[
0
][
1
];
}