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