summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue4517b.go
blob: 34fa98f8af8fefe08299c961a690cf3ca12229b0 (plain)
1
2
3
4
5
6
7
8
9
// errorcheck

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

const init = 1 // ERROR "cannot declare init - must be func"