llvm-project/llvm/test/TableGen/GeneralList.td

9 lines
168 B
TableGen

// 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"];
}