f13b603508c16b883300efbe9b19f3e7cb11eef1
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_fail / tcfail045.hs
1 --!!! a bad _CCallable thing (from a bug from Satnam)
2 --
3 data Socket = Socket# _Addr
4 instance _CCallable Socket
5
6 f :: Socket -> PrimIO ()
7 f x = _ccall_ foo x