summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_run/expfloat.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/numeric/should_run/expfloat.hs')
-rw-r--r--testsuite/tests/numeric/should_run/expfloat.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/numeric/should_run/expfloat.hs b/testsuite/tests/numeric/should_run/expfloat.hs
new file mode 100644
index 0000000000..fffa83d8f1
--- /dev/null
+++ b/testsuite/tests/numeric/should_run/expfloat.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE MagicHash #-}
+-- tests that expFloat# works (had linking problems on Windows)
+
+import GHC.Exts
+
+main = do
+ print (F# (expFloat# 3.45#))