snix/third_party/bazel/rules_haskell/tests/library-with-sysdeps/Lib.hs

8 lines
155 B
Haskell

module Lib (crc) where
import Foreign.Ptr
import Foreign.C.Types
foreign import ccall crc32 :: CLong -> Ptr () -> CInt -> IO ()
crc = crc32 0 nullPtr 0