llvm/test/TableGen/ListOfList.td
Benjamin Kramer 5d53ff54c0 XFAIL tblgen tests on leak checkers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141533 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-10 13:09:59 +00:00

15 lines
268 B
TableGen

// RUN llvm-tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | grep {foo} | count 1
// XFAIL: vg_leak
class Base<string t> {
string text = t;
}
class Derived<list<list<string>> thetext> : Base<thetext[0][0]>;
def FOO : Derived<[["foo"]]>;
// CHECK: text = "foo"