aboutsummaryrefslogtreecommitdiff
path: root/test/declbad.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-19 14:28:53 +1100
committerRob Pike <r@golang.org>2012-02-19 14:28:53 +1100
commit83976e3ac8a4b6da1782ca850ba9806b63b65c38 (patch)
treedf4ac9ec34951ac1e983a18778cbd69d09f4c858 /test/declbad.go
parentc3ef1980209ff152dec97203bb987d2d74a79bba (diff)
downloadgo-83976e3ac8a4b6da1782ca850ba9806b63b65c38.tar.gz
go-83976e3ac8a4b6da1782ca850ba9806b63b65c38.zip
test: explanatory comments [c-g]*
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656103
Diffstat (limited to 'test/declbad.go')
-rw-r--r--test/declbad.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/declbad.go b/test/declbad.go
index 962a61c0f9..32d68e7ea2 100644
--- a/test/declbad.go
+++ b/test/declbad.go
@@ -4,7 +4,8 @@
// 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