diff options
Diffstat (limited to 'testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs')
-rw-r--r-- | testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs | 9 |
1 files changed, 9 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..a3fbc7be61 --- /dev/null +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep08.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE NoMonomorphismRestriction #-} +module Dep08 where + +import GHC.IOArray + +bad1 = unsafeReadIOArray + +bad2 = unsafeWriteIOArray + |