projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1997-05-26 05:58:06 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
ccall
/
cc003.hs
1
--!!! cc003 -- ccall with unresolved polymorphism (should fail)
2
--!!! not anymore (as of 0.29, result type will default to ())
3
module Test where
4
5
import GlaExts
6
7
fubar :: PrimIO Int
8
fubar = _ccall_ f `seqPrimIO` _ccall_ b
9
--^ result type of f "lost" (never gets generalised)