adding a test for foreign export.

This commit is contained in:
Kazu Yamamoto
2014-08-12 16:37:05 +09:00
parent 4a02a02409
commit 463ab9a26f
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{-# LANGUAGE ForeignFunctionInterface #-}
module ForeignExport where
import Foreign.C.Types
foreign export ccall foo :: CUInt
foo :: CUInt
foo = 123