summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ffi/should_compile/cc014.hs
blob: bbf2d765ed480377b6384047bf2c84caafa78c84 (plain)
1
2
3
4
module Blah ( foo ) where
import Foreign.Ptr ( FunPtr )
type Bar = Int -> Double -> Double -> Double -> IO ()
foreign import ccall unsafe "dynamic" foo :: FunPtr Bar -> Bar