diff options
author | Rob Pike <r@golang.org> | 2012-02-19 13:19:43 +1100 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2012-02-19 13:19:43 +1100 |
commit | f48372c05c400812178b0bb68cd6525601cecfe9 (patch) | |
tree | 096926af13a4fbedd753a04c8f1fc2b01f90ca67 /test/blank1.go | |
parent | e26c8a1ce98dd9d924496b224a9d1d9edea538a2 (diff) | |
download | go-f48372c05c400812178b0bb68cd6525601cecfe9.tar.gz |
test: [a-c]: add introductory comments to tests
Very few of the compiler regression tests include a comment
saying waht they do. Many are obvious, some are anything but.
I've started with a-c in the top directory. More will follow once
we agree on the approach, correctness, and thoroughness here.
zerodivide.go sneaked in too.
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/5656100
Diffstat (limited to 'test/blank1.go')
-rw-r--r-- | test/blank1.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/blank1.go b/test/blank1.go index 63174cca9..c6e038a0d 100644 --- a/test/blank1.go +++ b/test/blank1.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. +// Test that incorrect uses of the blank identifer are caught. +// Does not compile. + package _ // ERROR "invalid package name _" func main() { |