summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_compile/T12489.hs
blob: 205799b608c58dcbd0f646b149c658c5871b71e3 (plain)
1
2
3
4
5
{-# LANGUAGE PatternSynonyms, ViewPatterns #-}

module T12489 where
pattern P :: a -> b
pattern P a <- (undefined -> a)