summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs')
-rw-r--r--testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs b/testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs
new file mode 100644
index 0000000000..76a0dde570
--- /dev/null
+++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE Safe #-}
+{-# LANGUAGE NoMonomorphismRestriction #-}
+module Dep08 where
+
+import GHC.IOArray
+
+bad1 = unsafeReadIOArray
+
+bad2 = unsafeWriteIOArray
+