summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorross <unknown>2005-01-11 14:34:08 +0000
committerross <unknown>2005-01-11 14:34:08 +0000
commitf10ab6cef8e0273819272a336a2f00153ccbd613 (patch)
tree0cc9be8c547c205b47af7972ba03df5d6b09f800 /testsuite
parent7a78a715fee6f5431d16b9442d83ebc36f6cdba2 (diff)
downloadhaskell-f10ab6cef8e0273819272a336a2f00153ccbd613.tar.gz
[project @ 2005-01-11 14:34:07 by ross]
tweak System.IO imports
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/ghc-regress/ccall/should_run/ffi005.hs2
-rw-r--r--testsuite/tests/ghc-regress/lib/should_run/exceptions001.hs1
-rw-r--r--testsuite/tests/ghc-regress/lib/should_run/exceptions001.stdout4
3 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/tests/ghc-regress/ccall/should_run/ffi005.hs b/testsuite/tests/ghc-regress/ccall/should_run/ffi005.hs
index f3c5c32fe9..1ba0a7025c 100644
--- a/testsuite/tests/ghc-regress/ccall/should_run/ffi005.hs
+++ b/testsuite/tests/ghc-regress/ccall/should_run/ffi005.hs
@@ -6,7 +6,7 @@ import Foreign.C
import Control.Exception
import System.IO.Unsafe
import Prelude hiding (read)
-import System.IO hiding (bracket)
+import System.IO (hFlush, stdout)
main = do
diff --git a/testsuite/tests/ghc-regress/lib/should_run/exceptions001.hs b/testsuite/tests/ghc-regress/lib/should_run/exceptions001.hs
index 37fe784b85..976f60356a 100644
--- a/testsuite/tests/ghc-regress/lib/should_run/exceptions001.hs
+++ b/testsuite/tests/ghc-regress/lib/should_run/exceptions001.hs
@@ -2,7 +2,6 @@ module Main where
import Prelude hiding (catch)
import Control.Exception
-import System.IO hiding (try, catch)
main = do
ioTest
diff --git a/testsuite/tests/ghc-regress/lib/should_run/exceptions001.stdout b/testsuite/tests/ghc-regress/lib/should_run/exceptions001.stdout
index d3998348aa..1abe1f2bfc 100644
--- a/testsuite/tests/ghc-regress/lib/should_run/exceptions001.stdout
+++ b/testsuite/tests/ghc-regress/lib/should_run/exceptions001.stdout
@@ -1,6 +1,6 @@
user exception caught
error call caught
no method error
-exceptions001.hs:39:0-12: Non-exhaustive patterns in function test1
-exceptions001.hs:46:0-25: Non-exhaustive patterns in function test2
+exceptions001.hs:38:0-12: Non-exhaustive patterns in function test1
+exceptions001.hs:45:0-25: Non-exhaustive patterns in function test2
43 \ No newline at end of file