summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/as-pattern.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/as-pattern.hs')
-rw-r--r--testsuite/tests/patsyn/should_fail/as-pattern.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_fail/as-pattern.hs b/testsuite/tests/patsyn/should_fail/as-pattern.hs
index 2794bed16a..f3ec9c9029 100644
--- a/testsuite/tests/patsyn/should_fail/as-pattern.hs
+++ b/testsuite/tests/patsyn/should_fail/as-pattern.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE PatternSynonyms #-}
module ShouldFail where
+-- This is now ok (following GHC proposal #94)
pattern P x y <- x@(Just y)