llvm.org GIT mirror llvm / 5b52f6d test / TableGen / ListOfList.td
5b52f6d

Tree @5b52f6d (Download .tar.gz)

ListOfList.td @5b52f6draw · history · blame

// RUN llvm-tblgen %s | FileCheck %s

// RUN: llvm-tblgen %s | grep {foo} | count 1
// XFAIL: vg_leak

class Base<string t> {
  string text = t;
}

class Derived<list<list<string>> thetext> : Base<thetext[0][0]>;

def FOO : Derived<[["foo"]]>;

// CHECK: text = "foo"