a59734c8cf2ab6b45f06f759fecf3f11c5a15477
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail074.hs
1 {-      SHOULD FAIL
2
3         GHC 2.02 failed to realise that this bogus
4         program didn't have the right type for main
5 -}
6
7 main            =  2
8 main            =  putStrLn "hello world"