Commit ca62d8c4 authored by simonmar's avatar simonmar
Browse files

[project @ 2002-03-12 10:39:02 by simonmar]

The foreign import in here should be "safe" not "unsafe", because it
calls directly back to a foreign export.
parent 0f20c6b3
......@@ -3,7 +3,7 @@ module Main where
-- !!! test for uncaught exception
foreign export foo :: Int -> IO Int
foreign import ccall unsafe "foo" foo_imported :: Int -> IO Int
foreign import ccall safe "foo" foo_imported :: Int -> IO Int
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