aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/GeneralList.td
blob: 7f099f2864999be51a76e9c60b2311b01218f834 (plain)
1
2
3
4
5
6
7
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"];
}