summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail057.hs
blob: 9659cf080133fe770e3b57ca9e4a096dc1192e7f (plain)
1
2
3
4
5
6
module ShouldFail where

-- !!! inadvertently using -> instead of =>

f :: (RealFrac a) -> a -> a
f x = x