diff options
author | Araq <rumpf_a@web.de> | 2011-02-20 20:12:22 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-02-20 20:12:22 +0100 |
commit | 2cdfe35e737291e65060e2f954d718316a969048 (patch) | |
tree | a39553bd397311c4601dde11be37c50ad99d81ab /tests/accept/run/tfloat1.nim | |
parent | cbee9c4e1a1252e6c809d25a0ef371ddee3fc802 (diff) | |
download | Nim-2cdfe35e737291e65060e2f954d718316a969048.tar.gz |
tests themselves contain the expected result
Diffstat (limited to 'tests/accept/run/tfloat1.nim')
-rwxr-xr-x | tests/accept/run/tfloat1.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/tfloat1.nim b/tests/accept/run/tfloat1.nim index 89911dd61..3826bf1f5 100755 --- a/tests/accept/run/tfloat1.nim +++ b/tests/accept/run/tfloat1.nim @@ -1,3 +1,7 @@ +discard """ + file: "tfloat1.nim" + output: "Error: unhandled exception: FPU operation caused an overflow [EFloatOverflow]" +""" # Test new floating point exceptions {.floatChecks: on.} @@ -6,3 +10,5 @@ var x = 0.8 var y = 0.0 echo x / y #OUT Error: unhandled exception: FPU operation caused an overflow [EFloatOverflow] + + |