Commit 51616091 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

testsuite: Add test for negative sqrts (#10010)

Reviewers: hvr, alpmestan

Reviewed By: alpmestan

Subscribers: thomie, carter

GHC Trac Issues: #10010

Differential Revision:
parent 635a784a
......@@ -25,3 +25,4 @@ test('num010',
when(platform('i386-apple-darwin'), expect_broken_for(7043, 'ghci')),
test('sqrt', normal, compile_and_run, [''])
main = do
print (sqrt (-7 :: Double))
print (sqrt (-7 :: Float))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment