summaryrefslogtreecommitdiff
path: root/test/interface/pointer.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/interface/pointer.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/interface/pointer.go')
-rw-r--r--test/interface/pointer.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/interface/pointer.go b/test/interface/pointer.go
index d94ec7cad..be24952ff 100644
--- a/test/interface/pointer.go
+++ b/test/interface/pointer.go
@@ -30,7 +30,6 @@ func AddInst(Inst) *Inst {
}
func main() {
- re := new(Regexp);
print("call addinst\n");
var x Inst = AddInst(new(Start)); // ERROR "illegal|incompatible|is not"
print("return from addinst\n");