Commit 594a0ac8 authored by Simon Marlow's avatar Simon Marlow
Browse files

fix FFI syntax

parent 8ec5abd0
...@@ -2,7 +2,7 @@ module Main where ...@@ -2,7 +2,7 @@ module Main where
-- !!! test for uncaught exception -- !!! test for uncaught exception
foreign export foo :: Int -> IO Int foreign export ccall foo :: Int -> IO Int
foreign import ccall safe "foo" foo_imported :: Int -> IO Int foreign import ccall safe "foo" foo_imported :: Int -> IO Int
foo n = error "wurble" foo n = error "wurble"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment