projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4ac4c824a2c8149ffbf202ae9baac781274f4419
[ghc-hetmet.git]
/
ghc
/
tests
/
ccall
/
should_compile
/
cc003.hs
1
-- !!! cc003 -- ccall with unresolved polymorphism (should fail)
2
-- !!! not anymore (as of 0.29, result type will default to ())
3
module ShouldCompile where
4
5
fubar :: IO Int
6
fubar = _ccall_ f >>_ccall_ b
7
--^ result type of f "lost" (never gets generalised)