blob: 34fa98f8af8fefe08299c961a690cf3ca12229b0 [file] [log] [blame]
Russ Cox3aed92f2012-12-22 17:23:33 -05001// errorcheck
2
Emmanuel Odeke53fd5222016-04-10 14:32:26 -07003// Copyright 2012 The Go Authors. All rights reserved.
Russ Cox3aed92f2012-12-22 17:23:33 -05004// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7package p
8
9const init = 1 // ERROR "cannot declare init - must be func"