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

fix FFI syntax

parent 8ec5abd0
......@@ -2,7 +2,7 @@ module Main where
-- !!! 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
foo n = error "wurble"
Supports Markdown
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