summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06_A.hs
blob: 1a04b696243971e1911f69dcceffe0f5d1111f46 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE ForeignFunctionInterface #-}
-- | Unsafe as uses FFI with a pure function
module UnsafeInfered06_A where

import Foreign.C

foreign import ccall "math.h" sin :: CDouble -> CDouble