llvm.org GIT mirror llvm / cf048d4
Add some tests of advanced TableGen list functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74445 91177308-0d34-0410-b5e6-96231b3b80d8 David Greene 10 years ago
2 changed file(s) with 19 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // RUN: tblgen %s
1
2 class B v> {
3 list vals = v;
4 }
5
6 class BB> vals> : B;
7 class BBB> vals> : BB;
8
9 def OneB : BBB<[[1,2,3]]>;
10 def TwoB : BBB<[[1,2,3],[4,5,6]]>;
0 // RUN: tblgen %s
1
2 class B {
3 int val = v;
4 }
5
6 class BB vals> : B;
7 class BBB vals> : BB;