summaryrefslogtreecommitdiff
path: root/test/TableGen/GeneralList.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-03 17:47:52 +0000
committerChris Lattner <sabre@nondot.org>2003-08-03 17:47:52 +0000
commit49136e123d27e42d3b067b425baa58af0d983528 (patch)
treef349188688d0a16054a7148a276564b924879d03 /test/TableGen/GeneralList.td
parent169e66bfc23c20a3df7d0364f5f1abb43f33694b (diff)
downloadllvm-49136e123d27e42d3b067b425baa58af0d983528.tar.gz
llvm-49136e123d27e42d3b067b425baa58af0d983528.tar.bz2
llvm-49136e123d27e42d3b067b425baa58af0d983528.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/GeneralList.td')
-rw-r--r--test/TableGen/GeneralList.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TableGen/GeneralList.td b/test/TableGen/GeneralList.td
new file mode 100644
index 0000000000..7f099f2864
--- /dev/null
+++ b/test/TableGen/GeneralList.td
@@ -0,0 +1,8 @@
+// RUN: tblgen %s
+//
+// Test to make sure that lists work with any data-type
+
+class foo {
+ list<int> Test = [1, 2, 3];
+ list<string> Test2 = ["abc", "xyz", "gtq"];
+}