summaryrefslogtreecommitdiff
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
commitd840779d66865cd18d2834e1719b1092588812ce (patch)
tree1bafec9c3ad11d2b5299b0846d37ec81ca896322 /test/label1.go
parentb718e7466f73ddfe225b0d4e4160130f58a7f4bd (diff)
downloadgo-d840779d66865cd18d2834e1719b1092588812ce.tar.gz
test: commentary for [h-m]*.go
R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/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 8a192c291..f923a1882 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