ghc-mod/test/data/ForeignExport.hs

11 lines
153 B
Haskell

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