llvm.org GIT mirror llvm / release_37 test / TableGen / ListConversion.td
release_37

Tree @release_37 (Download .tar.gz)

ListConversion.td @release_37raw · history · blame

// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class A;
class B : A;

def b : B;

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