b8c8d3501ab7eec7662909c5a05cbff4913b9afb
[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)