summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-18 13:48:23 +0000
committerIan Lynagh <igloo@earth.li>2011-11-18 13:48:23 +0000
commit413481c6470a5ba19d70e1a86cb1b9779bdcd288 (patch)
tree2ba4ad0a3e007c7473667062b9eaa1c7110c289b /testsuite/tests/driver/Makefile
parent3565a1b517fefe07572654f9d05558a9f7a1a9ba (diff)
downloadhaskell-413481c6470a5ba19d70e1a86cb1b9779bdcd288.tar.gz
Add a test for T5198
Diffstat (limited to 'testsuite/tests/driver/Makefile')
-rw-r--r--testsuite/tests/driver/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/driver/Makefile b/testsuite/tests/driver/Makefile
index c13665b99d..8e5f2da576 100644
--- a/testsuite/tests/driver/Makefile
+++ b/testsuite/tests/driver/Makefile
@@ -491,3 +491,11 @@ T5584:
$(RM) -rf T5584_out
mkdir T5584_out
"$(TEST_HC)" -odir T5584_out -c T5584/A.hs-boot
+
+.PHONY: T5198
+T5198:
+ $(RM) -rf T5198dump
+ [ ! -d T5198dump ]
+ "$(TEST_HC)" $(TEST_HC_OPTS) -c T5198.hs -dumpdir T5198dump -ddump-to-file -ddump-simpl
+ [ -f T5198dump/T5198.dump-simpl ]
+