3 // Copyright 2013 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Issue 5607: generation of init() function incorrectly
8 // uses initializers of blank variables inside closures.
13 var mymap = map[string]string{"a": "b"}
15 var innerTest = func() {
16 // Used to crash trying to compile this line as
17 // part of init() (funcdepth mismatch).
25 // The following initializer should not be part of init()
26 // The compiler used to generate a call to Panic() in init().
31 func Panic() (int, int) {