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