[project @ 1997-09-03 23:31:30 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail045.hs
1 --!!! a bad _CCallable thing (from a bug from Satnam)
2 --
3 module ShouldSucceed where
4
5 import Foreign
6
7 data Socket = Socket# Addr
8 instance CCallable Socket
9
10 f :: Socket -> PrimIO ()
11 f x = _ccall_ foo x