aboutsummaryrefslogtreecommitdiff
path: root/test/label1.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-23 18:47:26 +1100
committerRob Pike <r@golang.org>2012-02-23 18:47:26 +1100
commit501f0b578fd2bbd1919d85c4d3d4bb2e15e18545 (patch)
tree59aa62a3365d0d5334638d31156b31b26fcdb609 /test/label1.go
parent3391de8df7a6b2bb87acae8f1a8e82f851fc0511 (diff)
downloadgo-501f0b578fd2bbd1919d85c4d3d4bb2e15e18545.tar.gz
go-501f0b578fd2bbd1919d85c4d3d4bb2e15e18545.zip
test: commentary for [h-m]*.go
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5674112
Diffstat (limited to 'test/label1.go')
-rw-r--r--test/label1.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/label1.go b/test/label1.go
index 8a192c2910..f923a18820 100644
--- a/test/label1.go
+++ b/test/label1.go
@@ -4,7 +4,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Pass 2 label errors.
+
+// Verify that erroneous labels are caught by the compiler.
+// This set is caught by pass 2. That's why this file is label1.go.
+// Does not compile.
package main