summaryrefslogtreecommitdiff
path: root/test/init1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/init1.go')
-rw-r--r--test/init1.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/init1.go b/test/init1.go
index a888ad744..f6eda6edf 100644
--- a/test/init1.go
+++ b/test/init1.go
@@ -33,6 +33,7 @@ func init() {
sys1 := memstats.Sys
if sys1-sys > chunk*50 {
println("allocated 1000 chunks of", chunk, "and used ", sys1-sys, "memory")
+ panic("init1")
}
}