summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/T17376.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/pmcheck/should_compile/T17376.hs')
-rw-r--r--testsuite/tests/pmcheck/should_compile/T17376.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/pmcheck/should_compile/T17376.hs b/testsuite/tests/pmcheck/should_compile/T17376.hs
new file mode 100644
index 0000000000..ce6d7c7e87
--- /dev/null
+++ b/testsuite/tests/pmcheck/should_compile/T17376.hs
@@ -0,0 +1,7 @@
+module Lib where
+
+import Data.Void
+
+f :: Void -> ()
+f x = case x of _ -> ()
+