diff --git a/test/TableGen/ListOfList.td b/test/TableGen/ListOfList.td new file mode 100644 index 00000000000..6fe0e89ed89 --- /dev/null +++ b/test/TableGen/ListOfList.td @@ -0,0 +1,13 @@ +// RUN tblgen %s | FileCheck %s + +// RUN: tblgen %s | grep {foo} | count 1 + +class Base { + string text = t; +} + +class Derived> thetext> : Base; + +def FOO : Derived<[["foo"]]>; + +// CHECK: text = "foo"