summaryrefslogtreecommitdiff
path: root/test/float_lit.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/float_lit.go')
-rw-r--r--test/float_lit.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/float_lit.go b/test/float_lit.go
index 2912c3749..4efae2362 100644
--- a/test/float_lit.go
+++ b/test/float_lit.go
@@ -196,4 +196,8 @@ func main() {
if !close(-210.012e19, -210012, 1000, 19) {
print("-210.012e19 is ", -210.012e19, "\n")
}
+
+ if bad {
+ panic("float_lit")
+ }
}