summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds006.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/ds006.hs')
-rw-r--r--testsuite/tests/deSugar/should_compile/ds006.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/ds006.hs b/testsuite/tests/deSugar/should_compile/ds006.hs
new file mode 100644
index 0000000000..d66e7c17e8
--- /dev/null
+++ b/testsuite/tests/deSugar/should_compile/ds006.hs
@@ -0,0 +1,6 @@
+-- !!! ds006 -- v | True = v+1 | False = v (dead code elim)
+--
+module ShouldCompile where
+
+v | True = v + 1
+ | False = v