aboutsummaryrefslogtreecommitdiff
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
commitae54cf73cafad51188863dc5eada1b9d6c4d6a95 (patch)
tree8e115ff2eb9c4f2040c2c1b69dc50de1d874981d /test/decl.go
parent8cb9184d7ff869ad4ddd3174cb301bc88db15178 (diff)
downloadgo-ae54cf73cafad51188863dc5eada1b9d6c4d6a95.tar.gz
go-ae54cf73cafad51188863dc5eada1b9d6c4d6a95.zip
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 273d0ecffc..6e8cbab205 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
}