llvm/test/TableGen/DagDefSubst.ll
2006-03-30 22:49:59 +00:00

16 lines
199 B
LLVM

// 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>;