diff options
Diffstat (limited to 'test/TableGen')
-rw-r--r-- | test/TableGen/DagDefSubst.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/TableGen/DagDefSubst.ll b/test/TableGen/DagDefSubst.ll new file mode 100644 index 0000000000..a9cd59b9af --- /dev/null +++ b/test/TableGen/DagDefSubst.ll @@ -0,0 +1,15 @@ +// 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>; + + |