aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/DagDefSubst.td
blob: 92a207f4182957c7f6eb65eeca9cd247ea346990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: tblgen %s | grep {dag d = (X Y)}
// RUN: tblgen %s | grep {dag e = (Y X)}
// XFAIL: vg_leak
def X;

class yclass;
def Y : yclass;

class C<yclass N> {
  dag d = (X N);
  dag e = (N X);
}

def VAL : C<Y>;