summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T8101b.hs
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2015-08-06 14:12:38 -0400
committerReid Barton <rwbarton@gmail.com>2015-08-06 14:58:08 -0400
commitaa230540f5868263740fd7d2f31505a39e2fcb4e (patch)
treeef9a5da243759f78cf64a0780ac48ade24616e08 /testsuite/tests/driver/T8101b.hs
parent600b153abb78505911db8b0c44e6f172f6ddb18f (diff)
downloadhaskell-aa230540f5868263740fd7d2f31505a39e2fcb4e.tar.gz
Add test for #10600 (exhaustiveness check with --make and -fno-code)
Diffstat (limited to 'testsuite/tests/driver/T8101b.hs')
-rw-r--r--testsuite/tests/driver/T8101b.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T8101b.hs b/testsuite/tests/driver/T8101b.hs
new file mode 100644
index 0000000000..d7bcc1bd5e
--- /dev/null
+++ b/testsuite/tests/driver/T8101b.hs
@@ -0,0 +1,8 @@
+
+module A where
+
+data ABC = A | B | C
+
+abc :: ABC -> Int
+abc x = case x of
+ A -> 1