summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_run/arith006.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/numeric/should_run/arith006.hs')
-rw-r--r--testsuite/tests/numeric/should_run/arith006.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/numeric/should_run/arith006.hs b/testsuite/tests/numeric/should_run/arith006.hs
new file mode 100644
index 0000000000..b837692dae
--- /dev/null
+++ b/testsuite/tests/numeric/should_run/arith006.hs
@@ -0,0 +1,4 @@
+-- !!! printing Floats; was a bug in hbc (reported by andy)
+--
+
+main = print ((fromIntegral (42 :: Int)) :: Float)