diff options
-rw-r--r-- | test/TableGen/GeneralList.td | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TableGen/GeneralList.td b/test/TableGen/GeneralList.td new file mode 100644 index 0000000..7f099f2 --- /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"]; +} |