llvm-mirror/test/TableGen/ListConversion.td
2007-01-17 07:59:14 +00:00

11 lines
97 B
TableGen

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