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

Tree @release_27 (Download .tar.gz)

ListConversion.td @release_27raw · history · blame

// RUN: tblgen %s
class A;
class B : A;

def b : B;

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