summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug202.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
commitc67478eb2cfefebf09d0c648efa24bb9578078ba (patch)
tree026f00b9ffbf7b5b865b8a3c9749c1499e2b182a /test/fixedbugs/bug202.go
parenta4b4090443684cc9a82c272f2c7ae598c5aceca8 (diff)
downloadgolang-c67478eb2cfefebf09d0c648efa24bb9578078ba.tar.gz
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/fixedbugs/bug202.go')
-rw-r--r--test/fixedbugs/bug202.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug202.go b/test/fixedbugs/bug202.go
index 7e5cc7a3f..2fc91b520 100644
--- a/test/fixedbugs/bug202.go
+++ b/test/fixedbugs/bug202.go
@@ -6,11 +6,11 @@
package main
func f() {
- v := [...]string{"a", "b"};
+ v := [...]string{"a", "b"};
+ _ = v;
}
func main() {
f();
}
- \ No newline at end of file