[commit: testsuite] master: Remove Dep0{3,4} (08d51aa)

Ian Lynagh igloo at earth.li
Sat Feb 16 18:24:40 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/08d51aa72398ba1c0d1e5a57e62db853584cdce5

>---------------------------------------------------------------

commit 08d51aa72398ba1c0d1e5a57e62db853584cdce5
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sat Feb 16 14:15:16 2013 +0000

    Remove Dep0{3,4}
    
    I'm not sure what they're supposed to test

>---------------------------------------------------------------

 tests/safeHaskell/unsafeLibs/Dep03.hs     |    7 -------
 tests/safeHaskell/unsafeLibs/Dep03.stderr |    4 ----
 tests/safeHaskell/unsafeLibs/Dep04.hs     |    8 --------
 tests/safeHaskell/unsafeLibs/Dep04.stderr |    5 -----
 tests/safeHaskell/unsafeLibs/all.T        |    2 --
 5 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/tests/safeHaskell/unsafeLibs/Dep03.hs b/tests/safeHaskell/unsafeLibs/Dep03.hs
deleted file mode 100644
index b5f39af..0000000
--- a/tests/safeHaskell/unsafeLibs/Dep03.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Dep03 where
-
-import Foreign
-
-bad :: IO a -> a
-bad = unsafePerformIO
-
diff --git a/tests/safeHaskell/unsafeLibs/Dep03.stderr b/tests/safeHaskell/unsafeLibs/Dep03.stderr
deleted file mode 100644
index 719ab52..0000000
--- a/tests/safeHaskell/unsafeLibs/Dep03.stderr
+++ /dev/null
@@ -1,4 +0,0 @@
-
-Dep03.hs:6:7: Warning:
-    In the use of `unsafePerformIO' (imported from Foreign):
-    Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
diff --git a/tests/safeHaskell/unsafeLibs/Dep04.hs b/tests/safeHaskell/unsafeLibs/Dep04.hs
deleted file mode 100644
index 5ff23ea..0000000
--- a/tests/safeHaskell/unsafeLibs/Dep04.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Dep04 where
-
-import Foreign.Ptr
-import Foreign.ForeignPtr
-
-bad :: ForeignPtr a -> Ptr a
-bad = unsafeForeignPtrToPtr
-
diff --git a/tests/safeHaskell/unsafeLibs/Dep04.stderr b/tests/safeHaskell/unsafeLibs/Dep04.stderr
deleted file mode 100644
index 8a10f22..0000000
--- a/tests/safeHaskell/unsafeLibs/Dep04.stderr
+++ /dev/null
@@ -1,5 +0,0 @@
-
-Dep04.hs:7:7: Warning:
-    In the use of `unsafeForeignPtrToPtr'
-    (imported from Foreign.ForeignPtr):
-    Deprecated: "Use Foreign.ForeignPtr.Unsafe.unsafeForeignPtrToPtr instead; This function will be removed in the next release"
diff --git a/tests/safeHaskell/unsafeLibs/all.T b/tests/safeHaskell/unsafeLibs/all.T
index 5fc0c6e..81fd18a 100644
--- a/tests/safeHaskell/unsafeLibs/all.T
+++ b/tests/safeHaskell/unsafeLibs/all.T
@@ -12,8 +12,6 @@ setTestOpts(f)
 # Check correct methods are deprecated
 test('Dep01', normal, compile, [''])
 test('Dep02', normal, compile, [''])
-test('Dep03', normal, compile, [''])
-test('Dep04', normal, compile, [''])
 test('Dep05', normal, compile_fail, [''])
 test('Dep06', normal, compile_fail, [''])
 test('Dep07', normal, compile_fail, [''])





More information about the ghc-commits mailing list