[project @ 1999-09-21 09:00:46 by sof]
authorsof <unknown>
Tue, 21 Sep 1999 09:00:46 +0000 (09:00 +0000)
committersof <unknown>
Tue, 21 Sep 1999 09:00:46 +0000 (09:00 +0000)
Testing the sanity of Show on Addr

ghc/tests/lib/should_run/addr001.hs [new file with mode: 0644]

diff --git a/ghc/tests/lib/should_run/addr001.hs b/ghc/tests/lib/should_run/addr001.hs
new file mode 100644 (file)
index 0000000..89e49c4
--- /dev/null
@@ -0,0 +1,10 @@
+-- !!! Testing that Show for Addr is OK..
+module Main(main) where
+
+import Addr
+
+main :: IO ()
+main = do
+  print (intToAddr maxBound)
+  print (intToAddr minBound)
+