aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/test/goto.go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/go.test/test/goto.go')
-rw-r--r--gcc/testsuite/go.test/test/goto.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/go.test/test/goto.go b/gcc/testsuite/go.test/test/goto.go
index 1fccb314c..ca477b3d0 100644
--- a/gcc/testsuite/go.test/test/goto.go
+++ b/gcc/testsuite/go.test/test/goto.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 goto semantics.
+// Does not compile.
+//
// Each test is in a separate function just so that if the
// compiler stops processing after one error, we don't
// lose other ones.