Bump `base` version to 4.9.0.0 (closes #11026)
[ghc.git] / testsuite / tests / typecheck / should_fail / tcfail140.hs
1 -- GHC 6.4 gave pretty horrible error messages
2 -- for some of these examples
3 -- c.f. SourceForge [ ghc-Bugs-1231273 ] confusing error
4
5 module ShouldFail where
6
7 f :: Int -> Int
8 f x = x
9
10 bar = f 3 9
11
12 rot xs = 3 `f` 4
13
14 bot xs = map (3 `f`) xs
15
16 t = ((\Just x -> x) :: Maybe a -> a) (Just 1)
17
18 g :: Int -> Int
19 g x y = True
20
21
22