llvm/test/TableGen/ListConversion.td
Chris Lattner a6aff650e8 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7525 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-03 18:28:09 +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;
}