summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/unsafeLibs/Dep02.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/unsafeLibs/Dep02.hs')
-rw-r--r--testsuite/tests/safeHaskell/unsafeLibs/Dep02.hs16
1 files changed, 0 insertions, 16 deletions
diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep02.hs b/testsuite/tests/safeHaskell/unsafeLibs/Dep02.hs
deleted file mode 100644
index f9dbb26064..0000000000
--- a/testsuite/tests/safeHaskell/unsafeLibs/Dep02.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module Dep02 where
-
-import Control.Monad
-import Control.Monad.ST.Lazy
-import Data.STRef.Lazy
-
-sumST :: Num a => [a] -> a
-sumST xs = runST $ do
- n <- newSTRef 0
- forM_ xs $ \x -> do
- modifySTRef n (+x)
- readSTRef n
-
-badST :: ()
-badST = runST $ unsafeIOToST $ putStrLn "Hello World"
-