diff options
Diffstat (limited to 'test/init.go')
-rw-r--r-- | test/init.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/init.go b/test/init.go index 74c2d5c26..f4689443c 100644 --- a/test/init.go +++ b/test/init.go @@ -1,9 +1,12 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2011 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. +// Verify that erroneous use of init is detected. +// Does not compile. + package main import "runtime" |