summaryrefslogtreecommitdiff
path: root/test/gc1.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
commit298e8e3680bee2280342a991cf8d71cb3df8ef59 (patch)
tree026f00b9ffbf7b5b865b8a3c9749c1499e2b182a /test/gc1.go
parent5a016d0a0cba8b515fbbb1bf209af446377c66b8 (diff)
downloadgo-298e8e3680bee2280342a991cf8d71cb3df8ef59.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/gc1.go')
-rw-r--r--test/gc1.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gc1.go b/test/gc1.go
index d746e9c62..eecc036fc 100644
--- a/test/gc1.go
+++ b/test/gc1.go
@@ -9,5 +9,6 @@ package main
func main() {
for i := 0; i < 1000000; i++ {
x := new([100]byte);
+ _ = x;
}
}