summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail063.hs
blob: 6e012dbb24779c796c9a1f1c445a392477b52633 (plain)
1
2
3
4
5
6
7
-- !!! no type variable on a context
-- !!! reported by Sigbjorn Finne

module ShouldFail where

moby :: Num => Int -> a -> Int
moby x y = x+y