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 | 54e5592fbca3eb4902687c885ddf041dd06fbee4 (patch) | |
tree | 0178d789dc8fe7231e9ca51132a34a3d97d2db54 /test/func6.go | |
parent | 56074ca41a4f4b1c3d4a9953e69ad7ba5883bc45 (diff) | |
download | go-54e5592fbca3eb4902687c885ddf041dd06fbee4.tar.gz |
test: explanatory comments [c-g]*
R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5656103
Diffstat (limited to 'test/func6.go')
-rw-r--r-- | test/func6.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/func6.go b/test/func6.go index 39c15329e..456cb49f0 100644 --- a/test/func6.go +++ b/test/func6.go @@ -1,9 +1,11 @@ -// compile +// run // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Test closures in if conditions. + package main func main() { |