diff options
Diffstat (limited to 'tests/run/tfloat1.nim')
-rwxr-xr-x | tests/run/tfloat1.nim | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/run/tfloat1.nim b/tests/run/tfloat1.nim deleted file mode 100755 index f290fdb57..000000000 --- a/tests/run/tfloat1.nim +++ /dev/null @@ -1,15 +0,0 @@ -discard """ - file: "tfloat1.nim" - outputsub: "Error: unhandled exception: FPU operation caused an overflow [EFloatOverflow]" - exitcode: "1" -""" -# Test new floating point exceptions - -{.floatChecks: on.} - -var x = 0.8 -var y = 0.0 - -echo x / y #OUT Error: unhandled exception: FPU operation caused an overflow [EFloatOverflow] - - |