]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/init1.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / init1.go
index 62dfb72bf9a966e90333c5669e813d06f5231123..0803dced1c4c6b4f1b1b0e8aa500a3e0830ff383 100644 (file)
@@ -1,6 +1,6 @@
 // run
 
-// Copyright 2011 The Go Authors.  All rights reserved.
+// Copyright 2011 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
@@ -40,7 +40,7 @@ func init() {
        sys1, numGC1 := memstats.Sys, memstats.NumGC
        if sys1-sys >= N*MB || numGC1 == numGC {
                println("allocated 1000 chunks of", MB, "and used ", sys1-sys, "memory")
-               println("numGC went", numGC, "to", numGC)
+               println("numGC went", numGC, "to", numGC1)
                panic("init1")
        }
 }