llvm.org GIT mirror llvm / release_32 test / TableGen / GeneralList.td
release_32

Tree @release_32 (Download .tar.gz)

GeneralList.td @release_32raw · history · blame

1
2
3
4
5
6
7
8
9
// 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"];
}