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