aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen/ListConversion.td
blob: 222b6140564e9ef2bcd436e10ee5392ef5dd3e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: tblgen %s
// XFAIL: vg_leak
class A;
class B : A;

def b : B;

def {
  list<B> X = [b];
  list<A> Y = X;
}