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

def b : B;

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