diff options
author | Rob Pike <r@golang.org> | 2012-02-19 14:28:53 +1100 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2012-02-19 14:28:53 +1100 |
commit | 83976e3ac8a4b6da1782ca850ba9806b63b65c38 (patch) | |
tree | df4ac9ec34951ac1e983a18778cbd69d09f4c858 /test/func4.go | |
parent | c3ef1980209ff152dec97203bb987d2d74a79bba (diff) | |
download | go-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/func4.go')
-rw-r--r-- | test/func4.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/func4.go b/test/func4.go index c53e7a23ac..85f1e4b81e 100644 --- a/test/func4.go +++ b/test/func4.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 it is illegal to take the address of a function. +// Does not compile. + package main var notmain func() |