diff options
Diffstat (limited to 'test/TableGen/DagIntSubst.td')
-rw-r--r-- | test/TableGen/DagIntSubst.td | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/TableGen/DagIntSubst.td b/test/TableGen/DagIntSubst.td new file mode 100644 index 0000000..3c1291c --- /dev/null +++ b/test/TableGen/DagIntSubst.td @@ -0,0 +1,10 @@ +// RUN: tblgen %s | grep {dag d = (X 13)} +def X; + +class C<int N> { + dag d = (X N); +} + +def VAL : C<13>; + + |