summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_run/cgrun014.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/codeGen/should_run/cgrun014.hs')
-rw-r--r--testsuite/tests/codeGen/should_run/cgrun014.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/cgrun014.hs b/testsuite/tests/codeGen/should_run/cgrun014.hs
new file mode 100644
index 0000000000..a01c1017ad
--- /dev/null
+++ b/testsuite/tests/codeGen/should_run/cgrun014.hs
@@ -0,0 +1,3 @@
+-- !! cg014: main = -42 -- twice: in Float and Double
+
+main = print ((show ( (-42) :: Float )) ++ " " ++ (show ( (-42) :: Double )) ++ "\n")