llvm-6502/test/TableGen/ListConversion.td
2011-10-06 13:39:59 +00:00

12 lines
120 B
TableGen

// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class A;
class B : A;
def b : B;
def {
list<B> X = [b];
list<A> Y = X;
}