summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/WPatternSigBinds.hs
blob: b3bdd68675010678f66d6c18d7c147144488d60d (plain)
1
2
3
4
5
6
7
8
{-# OPTIONS_GHC -Wpattern-signature-binds -Werror #-}
module WPatternSigBinds where

f (x :: a) = x

g (x :: a) (y :: b) = x

h (x :: a) (y :: b c d) = x