From 824b46f26f127cb73733895c8cd236744d722a70 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 30 Mar 2006 22:49:59 +0000 Subject: 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 --- test/TableGen/DagDefSubst.ll | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/TableGen/DagDefSubst.ll (limited to 'test/TableGen') diff --git a/test/TableGen/DagDefSubst.ll b/test/TableGen/DagDefSubst.ll new file mode 100644 index 0000000000..a9cd59b9af --- /dev/null +++ b/test/TableGen/DagDefSubst.ll @@ -0,0 +1,15 @@ +// RUN: tblgen %s | grep 'dag d = (X Y)' && +// RUN: tblgen %s | grep 'dag e = (Y X)' +def X; + +class yclass; +def Y : yclass; + +class C { + dag d = (X N); + dag e = (N X); +} + +def VAL : C; + + -- cgit v1.2.3