1// RUN: llvm-tblgen %s
2// XFAIL: vg_leak
3
4class B<list<int> v> {
5  list<int> vals = v;
6}
7
8class BB<list<list<int>> vals> : B<vals[0]>;
9class BBB<list<list<int>> vals> : BB<vals>;
10
11def OneB : BBB<[[1,2,3]]>;
12def TwoB : BBB<[[1,2,3],[4,5,6]]>;
13