[project @ 2001-03-28 16:33:55 by simonmar]
authorsimonmar <unknown>
Wed, 28 Mar 2001 16:33:55 +0000 (16:33 +0000)
committersimonmar <unknown>
Wed, 28 Mar 2001 16:33:55 +0000 (16:33 +0000)
remove this outdated, nonworking test

ghc/tests/lib/should_run/stableptr002.hs [deleted file]
ghc/tests/lib/should_run/stableptr002.stdout [deleted file]

diff --git a/ghc/tests/lib/should_run/stableptr002.hs b/ghc/tests/lib/should_run/stableptr002.hs
deleted file mode 100644 (file)
index daf9678..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-module Main where
-
-import Stable
-import PrelIOBase
-
--- Testing callbacks: the initial haskell thread calls out to C with
--- the address of a Haskell callback.  The C function runs the callback
--- (in a new thread) and returns.
-
--- The stable pointer operation 'performIO' does the job of calling
--- the callback for us.
-
--- for an extra stressful test, the callback also does an explicit GC
--- to make sure that the original thread saved away its state
--- properly.
-
-main = do
-  io <- makeStablePtr hello
-  _ccall_GC_ performIO io
-  putStr "finished"
-
-hello :: IO ()
-hello  = do
-  _ccall_GC_ performGC
-  putStr "hello world!\n"
diff --git a/ghc/tests/lib/should_run/stableptr002.stdout b/ghc/tests/lib/should_run/stableptr002.stdout
deleted file mode 100644 (file)
index 4545b6b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-hello world!
-finished
\ No newline at end of file