llvm.org GIT mirror llvm / f6c8cbb
Test VarListElementInit:: resolveListElementReference Add a TableGen test to check if indexing lists of lists works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140883 91177308-0d34-0410-b5e6-96231b3b80d8 David Greene 7 years ago
1 changed file(s) with 13 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // RUN tblgen %s | FileCheck %s
1
2 // RUN: tblgen %s | grep {foo} | count 1
3
4 class Base {
5 string text = t;
6 }
7
8 class Derived> thetext> : Base;
9
10 def FOO : Derived<[["foo"]]>;
11
12 // CHECK: text = "foo"