llvm.org GIT mirror llvm / release_50 test / TableGen / ListOfList.td
release_50

Tree @release_50 (Download .tar.gz)

ListOfList.td @release_50raw · history · blame

// RUN: llvm-tblgen %s | FileCheck %s
// 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"
// CHECK-NOT: text = "foo"