c646e3b4802fcc626434a77904f670bd33f1d893
[oota-llvm.git] / test / TableGen / ListOfList.td
1 // RUN: llvm-tblgen %s | FileCheck %s
2
3 class Base<string t> {
4   string text = t;
5 }
6
7 class Derived<list<list<string>> thetext> : Base<thetext[0][0]>;
8
9 def FOO : Derived<[["foo"]]>;
10
11 // CHECK: text = "foo"
12 // CHECK-NOT: text = "foo"