llvm.org GIT mirror llvm / 824b46f
Dag operator should be able to be template params. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27262 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // RUN: tblgen %s | grep 'dag d = (X Y)' &&
1 // RUN: tblgen %s | grep 'dag e = (Y X)'
2 def X;
3
4 class yclass;
5 def Y : yclass;
6
7 class C {
8 dag d = (X N);
9 dag e = (N X);
10 }
11
12 def VAL : C;
13
14