diff options
author | Russ Cox <rsc@golang.org> | 2009-09-14 21:03:53 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-14 21:03:53 -0700 |
commit | c67478eb2cfefebf09d0c648efa24bb9578078ba (patch) | |
tree | 026f00b9ffbf7b5b865b8a3c9749c1499e2b182a /test/fixedbugs/bug012.go | |
parent | a4b4090443684cc9a82c272f2c7ae598c5aceca8 (diff) | |
download | golang-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/bug012.go')
-rw-r--r-- | test/fixedbugs/bug012.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fixedbugs/bug012.go b/test/fixedbugs/bug012.go index 41d1bf627..ffd5b5570 100644 --- a/test/fixedbugs/bug012.go +++ b/test/fixedbugs/bug012.go @@ -10,6 +10,7 @@ package main func main() { var u30 uint64 = 0; var u31 uint64 = 1; + _, _ = u30, u31; var u32 uint64 = 18446744073709551615; var u33 uint64 = +18446744073709551615; if u32 != (1<<64)-1 { panic("u32\n"); } |