Start converting to new error handling API.
[oota-llvm.git] / test / TableGen / ListSlices.td
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 }