llvm-for-llvmta/test/TableGen/GeneralList.td

9 lines
173 B
TableGen

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