projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdbc0ad
)
[project @ 1999-09-21 09:00:46 by sof]
author
sof
<unknown>
Tue, 21 Sep 1999 09:00:46 +0000
(09:00 +0000)
committer
sof
<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]
patch
|
blob
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
+++ b/
ghc/tests/lib/should_run/addr001.hs
@@ -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)
+