YouCompleteMe/cpp/llvm/test/TableGen/GeneralList.td

10 lines
191 B
TableGen
Raw Normal View History

2012-07-05 20:51:06 -04:00
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
//
// 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"];
}