summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/as-pattern.hs
blob: 2794bed16ae8c3e1e13cfb5a9933d6f5f7c6cc33 (plain)
1
2
3
4
{-# LANGUAGE PatternSynonyms #-}
module ShouldFail where

pattern P x y <- x@(Just y)