1// RUN llvm-tblgen %s | FileCheck %s
2
3// RUN: llvm-tblgen %s | grep {foo} | count 1
4// XFAIL: vg_leak
5
6class Base<string t> {
7 string text = t;
8}
9
10class Derived<list<list<string>> thetext> : Base<thetext[0][0]>;
11
12def FOO : Derived<[["foo"]]>;
13
14// CHECK: text = "foo"
15