summaryrefslogtreecommitdiff
path: root/test/declbad.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/declbad.go')
-rw-r--r--test/declbad.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/declbad.go b/test/declbad.go
index 09f1dfb57..32d68e7ea 100644
--- a/test/declbad.go
+++ b/test/declbad.go
@@ -1,10 +1,11 @@
-// errchk $G -e $F.go
+// errorcheck
// Copyright 2009 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.
-// Incorrect short declarations and redeclarations.
+// Test that incorrect short declarations and redeclarations are detected.
+// Does not compile.
package main