commit | 83976e3ac8a4b6da1782ca850ba9806b63b65c38 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Sun Feb 19 14:28:53 2012 +1100 |
committer | Rob Pike <r@golang.org> | Sun Feb 19 14:28:53 2012 +1100 |
tree | df4ac9ec34951ac1e983a18778cbd69d09f4c858 | |
parent | c3ef1980209ff152dec97203bb987d2d74a79bba [diff] [blame] |
test: explanatory comments [c-g]* R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656103
diff --git a/test/func6.go b/test/func6.go index 39c1532..456cb49 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() {