aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/ListConversion.td
blob: 773ed6e4d11468bea03263751768fdacb9828d3c (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: tblgen %s
class A;
class B : A;

def b : B;

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