aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/DagIntSubst.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/DagIntSubst.ll')
-rw-r--r--test/TableGen/DagIntSubst.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/TableGen/DagIntSubst.ll b/test/TableGen/DagIntSubst.ll
new file mode 100644
index 0000000..3c1291c
--- /dev/null
+++ b/test/TableGen/DagIntSubst.ll
@@ -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>;
+
+