forked from OSchip/llvm-project
16 lines
196 B
TableGen
16 lines
196 B
TableGen
|
// 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>;
|
||
|
|
||
|
|