summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_run/numrun016.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/numeric/should_run/numrun016.hs')
-rw-r--r--testsuite/tests/numeric/should_run/numrun016.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/numeric/should_run/numrun016.hs b/testsuite/tests/numeric/should_run/numrun016.hs
new file mode 100644
index 0000000000..c45e322030
--- /dev/null
+++ b/testsuite/tests/numeric/should_run/numrun016.hs
@@ -0,0 +1,8 @@
+-- test for trac #8532
+
+import Data.Complex
+
+main :: IO ()
+main = do
+ print $ acosh ((-1)::Complex Double)
+ print $ acosh ((-1)::Complex Float)