summaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/test/varerr.go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/go.test/test/varerr.go')
-rw-r--r--gcc/testsuite/go.test/test/varerr.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/go.test/test/varerr.go b/gcc/testsuite/go.test/test/varerr.go
index ddd718f5b8..22aa9324f9 100644
--- a/gcc/testsuite/go.test/test/varerr.go
+++ b/gcc/testsuite/go.test/test/varerr.go
@@ -1,9 +1,12 @@
-// errchk $G $D/$F.go
+// errorcheck
// Copyright 2010 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 a couple of illegal variable declarations are caught by the compiler.
+// Does not compile.
+
package main
func main() {