summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue23093.go
blob: 0d3b13e633a509589abdc7bac608ac4d5c81a4a2 (plain)
1
2
3
4
5
6
7
8
9
// errorcheck

// Copyright 2017 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

var f = func() { f() } // ERROR "initialization cycle|initialization expression for .*f.* depends upon itself"