projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b96a23
)
[project @ 2001-04-05 11:48:59 by simonpj]
author
simonpj
<unknown>
Thu, 5 Apr 2001 11:48:59 +0000
(11:48 +0000)
committer
simonpj
<unknown>
Thu, 5 Apr 2001 11:48:59 +0000
(11:48 +0000)
Add tc120
ghc/tests/typecheck/should_compile/tc120.hs
[new file with mode: 0644]
patch
|
blob
diff --git a/ghc/tests/typecheck/should_compile/tc120.hs
b/ghc/tests/typecheck/should_compile/tc120.hs
new file mode 100644
(file)
index 0000000..
11c64d8
--- /dev/null
+++ b/
ghc/tests/typecheck/should_compile/tc120.hs
@@ -0,0
+1,8
@@
+-- !!! Check that we can have a type for main that is more general than IO a
+
+-- main :: forall a.a certainly also has type IO a, so it should be fine.
+
+module Main(main) where
+
+main :: a
+main = error "not much luck"