summaryrefslogtreecommitdiff
path: root/test/floatcmp.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/floatcmp.go')
-rw-r--r--test/floatcmp.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/floatcmp.go b/test/floatcmp.go
index f9f59a937..6c424ccd9 100644
--- a/test/floatcmp.go
+++ b/test/floatcmp.go
@@ -87,4 +87,7 @@ func main() {
println(t.name, "=", t.expr, "want", t.want)
}
}
+ if bad {
+ panic("floatcmp failed")
+ }
}