summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/unsafeLibs/Dep07.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/unsafeLibs/Dep07.hs')
-rw-r--r--testsuite/tests/safeHaskell/unsafeLibs/Dep07.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep07.hs b/testsuite/tests/safeHaskell/unsafeLibs/Dep07.hs
new file mode 100644
index 0000000000..6f0df7af11
--- /dev/null
+++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep07.hs
@@ -0,0 +1,6 @@
+module Dep07 where
+
+import GHC.ForeignPtr
+
+bad1 = unsafeForeignPtrToPtr
+