summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_run/arith015.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/numeric/should_run/arith015.hs')
-rw-r--r--testsuite/tests/numeric/should_run/arith015.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/numeric/should_run/arith015.hs b/testsuite/tests/numeric/should_run/arith015.hs
new file mode 100644
index 0000000000..c1e58c0540
--- /dev/null
+++ b/testsuite/tests/numeric/should_run/arith015.hs
@@ -0,0 +1,5 @@
+main = do
+ print (map read strange_nums :: [Float])
+ print (map read strange_nums :: [Double])
+ where
+ strange_nums = ["Infinity","NaN", "-Infinity"]