summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ffi/should_compile/1357.hs
blob: 1f5479bc1c64114336ea7b62e86acfb5f771ee54 (plain)
1
2
3
4
5
{-# LANGUAGE ForeignFunctionInterface #-}
module T where

import Foreign
foreign import ccall "f" f :: FunPtr (Int -> IO ())