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 | fc0dc040954b7a8479c978ff06fe6ea4219d1542 (patch) | |
tree | b6c98a103624f19cba900d13abe81f14d4f5f17c /test/alias1.go | |
parent | 126d475a4311c5c34f380a11941dbeeac39145fd (diff) | |
download | go-fc0dc040954b7a8479c978ff06fe6ea4219d1542.tar.gz go-fc0dc040954b7a8479c978ff06fe6ea4219d1542.zip |
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
https://golang.org/cl/5656100
Diffstat (limited to 'test/alias1.go')
-rw-r--r-- | test/alias1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/alias1.go b/test/alias1.go index 11c18f8bfb..4219af8cd5 100644 --- a/test/alias1.go +++ b/test/alias1.go @@ -4,11 +4,11 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package main - // Test that dynamic interface checks treat byte=uint8 // and rune=int or rune=int32. +package main + func main() { var x interface{} |