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

9 lines
173 B
TableGen
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// 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"];
}