ListOfList.td 249 B

12345678910111213
  1. // RUN: llvm-tblgen %s | FileCheck %s
  2. // XFAIL: vg_leak
  3. class Base<string t> {
  4. string text = t;
  5. }
  6. class Derived<list<list<string>> thetext> : Base<thetext[0][0]>;
  7. def FOO : Derived<[["foo"]]>;
  8. // CHECK: text = "foo"
  9. // CHECK-NOT: text = "foo"