llvm-6502/test/TableGen/ListConversion.td

11 lines
97 B
TableGen
Raw Normal View History

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