llvm-6502/test/TableGen/ListOfList.td
Bill Wendling b4be7f6b04 FileCheckize some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189060 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-22 20:46:05 +00:00

13 lines
231 B
TableGen

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