summaryrefslogtreecommitdiff
path: root/test/func6.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/func6.go')
-rw-r--r--test/func6.go4
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() {