summary refs log tree commit diff stats
path: root/tests/accept/run/tfloat2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/tfloat2.nim')
-rwxr-xr-xtests/accept/run/tfloat2.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/tfloat2.nim b/tests/accept/run/tfloat2.nim
index 92421d446..e7a9ce76f 100755
--- a/tests/accept/run/tfloat2.nim
+++ b/tests/accept/run/tfloat2.nim
@@ -1,3 +1,7 @@
+discard """
+  file: "tfloat2.nim"
+  output: "Error: unhandled exception: FPU operation caused a NaN result [EFloatInvalidOp]"
+"""
 # Test new floating point exceptions
 
 {.floatChecks: on.}
@@ -6,3 +10,5 @@ var x = 0.0
 var y = 0.0
 
 echo x / y #OUT Error: unhandled exception: FPU operation caused a NaN result [EFloatInvalidOp]
+
+