summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/ghci/p6.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/ghci/p6.stderr')
-rw-r--r--testsuite/tests/safeHaskell/ghci/p6.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/ghci/p6.stderr b/testsuite/tests/safeHaskell/ghci/p6.stderr
new file mode 100644
index 0000000000..b32c521b4d
--- /dev/null
+++ b/testsuite/tests/safeHaskell/ghci/p6.stderr
@@ -0,0 +1,10 @@
+
+<interactive>:12:1:
+ Unacceptable result type in foreign declaration: Double
+ Safe Haskell is on, all FFI imports must be in the IO monad
+ When checking declaration:
+ foreign import ccall safe "static sin" c_sin :: Double -> Double
+
+<interactive>:13:1:
+ Not in scope: `c_sin'
+ Perhaps you meant c_sin' (line 8)