projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2000-08-17 11:22:33 by rrt]
[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"