llvm-for-llvmta/test/TableGen/ListOfList.td
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

14 lines
249 B
TableGen

// 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"