ghc-mod/test/data/foreign-export/ForeignExport.hs

11 lines
153 B
Haskell
Raw Normal View History

2015-03-05 15:50:06 +00:00
{-# LANGUAGE ForeignFunctionInterface #-}
module ForeignExport where
import Foreign.C.Types
foreign export ccall foo :: CUInt
foo :: CUInt
foo = 123