blob: 32b7efc76d1607b340a104ab34be14e989eaeb4f [file] [log] [blame]
// errchk $G $D/$F.go
// Copyright 2012 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.
package p
func f(i int) int { return i }
var i = func() int {a := f(i); return a}() // ERROR "initialization loop"