summaryrefslogtreecommitdiff
path: root/test/TableGen/GeneralList.td
diff options
context:
space:
mode:
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"];
+}