[llvm-commits] CVS: llvm/test/Regression/TableGen/GeneralList.td
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 4 00:00:14 PDT 2003
Changes in directory llvm/test/Regression/TableGen:
GeneralList.td added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/TableGen/GeneralList.td
diff -c /dev/null llvm/test/Regression/TableGen/GeneralList.td:1.1
*** /dev/null Sun Aug 3 12:48:02 2003
--- llvm/test/Regression/TableGen/GeneralList.td Sun Aug 3 12:47:52 2003
***************
*** 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"];
+ }
More information about the llvm-commits
mailing list