summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/T14112.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/T14112.hs')
-rw-r--r--testsuite/tests/patsyn/should_fail/T14112.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T14112.hs b/testsuite/tests/patsyn/should_fail/T14112.hs
new file mode 100644
index 0000000000..3e28644480
--- /dev/null
+++ b/testsuite/tests/patsyn/should_fail/T14112.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE PatternSynonyms #-}
+module T14112 where
+
+pattern MyJust1 a = Just !a