aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-31 06:01:40 +0000
committerChris Lattner <sabre@nondot.org>2006-01-31 06:01:40 +0000
commit5def058f386faf3a0e8977fdd5c4178539d101de (patch)
treea8c6b745d851cf7cdf0442e2f13a84d266f66c43 /test/TableGen
parent6dc83c777db605209aaa707bb23bd49dc8770228 (diff)
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen')
-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 0000000000..b9522f1f57
--- /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>;
+
+