summaryrefslogtreecommitdiff
path: root/test/decl.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-09-15 12:42:24 -0700
committerRuss Cox <rsc@golang.org>2009-09-15 12:42:24 -0700
commite6a328bbdc8f5cad199cda53dab7d310874e06b5 (patch)
tree8e115ff2eb9c4f2040c2c1b69dc50de1d874981d /test/decl.go
parentcf9118ad0e6c9fd6defe78270ea8044c2ed89f28 (diff)
downloadgolang-e6a328bbdc8f5cad199cda53dab7d310874e06b5.tar.gz
last round: non-package code
R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650
Diffstat (limited to 'test/decl.go')
-rw-r--r--test/decl.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/decl.go b/test/decl.go
index 273d0ecff..6e8cbab20 100644
--- a/test/decl.go
+++ b/test/decl.go
@@ -14,6 +14,7 @@ func f3() (float, int, string) { return 1, 2, "3" }
func x() (s string) {
a, b, s := f3();
+ _, _ = a, b;
return // tests that result var is in scope for redeclaration
}