summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/PatSynUnboundVar.hs
blob: 961713096aeb5b387ee38db0c7e11f10bdee42b1 (plain)
1
2
3
4
5
6
{-# language PatternSynonyms #-}

module PatSynUnboundVar where

pattern P :: Int -> (Int, Int)
pattern P a = (a, b)