diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-08 23:01:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-08 23:01:28 +0000 |
commit | 099672beef48a9de0f365f13d41eed36017576b4 (patch) | |
tree | 4fe45ff07b3fa89811d6b11889ddcdf191577953 /test/TableGen/DagDefSubst.td | |
parent | 1e8f072f1948de43a0c1c71e00e83e7bb192d7cb (diff) | |
download | external_llvm-099672beef48a9de0f365f13d41eed36017576b4.zip external_llvm-099672beef48a9de0f365f13d41eed36017576b4.tar.gz external_llvm-099672beef48a9de0f365f13d41eed36017576b4.tar.bz2 |
Use .td for tablegen files, not .ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/DagDefSubst.td')
-rw-r--r-- | test/TableGen/DagDefSubst.td | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/TableGen/DagDefSubst.td b/test/TableGen/DagDefSubst.td new file mode 100644 index 0000000..e5eebe9 --- /dev/null +++ b/test/TableGen/DagDefSubst.td @@ -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<yclass N> { + dag d = (X N); + dag e = (N X); +} + +def VAL : C<Y>; + + |