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

Tree @testing (Download .tar.gz)

GeneralList.td @testingraw · history · blame

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