ghc-mod/test/data/ForeignExport.hs

11 lines
153 B
Haskell
Raw Normal View History

2014-08-12 07:37:05 +00:00
{-# LANGUAGE ForeignFunctionInterface #-}
module ForeignExport where
import Foreign.C.Types
foreign export ccall foo :: CUInt
foo :: CUInt
foo = 123