summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail131.hs
blob: 98b0a29c8088da50362abd5a3ed6ff29eb30ee89 (plain)
1
2
3
4
5
6
7
-- Error message in monomorphic case

module ShouldFail where

  f = (*)	-- Monomorphic
  g :: Num b => b -> b
  g x = f x x