YouCompleteMe/cpp/llvm/test/TableGen/ListConversion.td

12 lines
120 B
TableGen
Raw Normal View History

2012-07-05 20:51:06 -04:00
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class A;
class B : A;
def b : B;
def {
list<B> X = [b];
list<A> Y = X;
}