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