llvm-project/llvm/test/TableGen/DagDefSubst.td

16 lines
196 B
TableGen
Raw Normal View History

// RUN: tblgen %s | grep {dag d = (X Y)}
// RUN: tblgen %s | grep {dag e = (Y X)}
def X;
class yclass;
def Y : yclass;
class C<yclass N> {
dag d = (X N);
dag e = (N X);
}
def VAL : C<Y>;