ghc-mod/test/data/ForeignExport.hs
2014-08-12 16:37:05 +09:00

11 lines
153 B
Haskell

{-# LANGUAGE ForeignFunctionInterface #-}
module ForeignExport where
import Foreign.C.Types
foreign export ccall foo :: CUInt
foo :: CUInt
foo = 123