llvm-6502/test/TableGen/DagDefSubst.ll

16 lines
199 B
LLVM
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>;