aboutsummaryrefslogtreecommitdiff
path: root/test/decl.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-09-14 21:03:53 -0700
committerRuss Cox <rsc@golang.org>2009-09-14 21:03:53 -0700
commit1a3198907bf18ac961762024cf2a27581e6be6c3 (patch)
tree026f00b9ffbf7b5b865b8a3c9749c1499e2b182a /test/decl.go
parent59914723df0b120961477040673c21bc88378f92 (diff)
downloadgo-1a3198907bf18ac961762024cf2a27581e6be6c3.tar.gz
go-1a3198907bf18ac961762024cf2a27581e6be6c3.zip
fix "declared and not used" in tests;
also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
Diffstat (limited to 'test/decl.go')
-rw-r--r--test/decl.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/decl.go b/test/decl.go
index c2919d32b0..273d0ecffc 100644
--- a/test/decl.go
+++ b/test/decl.go
@@ -30,8 +30,10 @@ func main() {
k := f1();
m, g, s := f3();
m, h, s := f3();
+ _, _, _, _, _, _, _, _, _ = i, f, s, j, k, m, g, s, h;
}
if x() != "3" {
println("x() failed");
}
+ _, _, _, _, _, _, _, _, _ = i, f, s, j, k, m, g, s, h;
}