diff options
author | Rob Pike <r@golang.org> | 2012-02-24 11:48:19 +1100 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2012-02-24 11:48:19 +1100 |
commit | 2b2a8fe77447a7549a4114f2071032e1987a49a3 (patch) | |
tree | eafdf8d1c1d1377c38a0f51727f8117038e68e51 /test/varerr.go | |
parent | b97699ff90abc71a751c9a58648c20e49b3e9fcc (diff) | |
download | go-2b2a8fe77447a7549a4114f2071032e1987a49a3.tar.gz |
test/[n-z]*.go: add documentation
R=golang-dev, bradfitz, r
CC=golang-dev
http://codereview.appspot.com/5700056
Diffstat (limited to 'test/varerr.go')
-rw-r--r-- | test/varerr.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/varerr.go b/test/varerr.go index 4056c16d0..22aa9324f 100644 --- a/test/varerr.go +++ b/test/varerr.go @@ -4,6 +4,9 @@ // 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() { |