summaryrefslogtreecommitdiff
path: root/test/TableGen/ListOfList.td
blob: 56f964e8685c011eebe8095196b88c12e05d8687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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"