aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-07-28 10:22:49 -0700
committerRob Pike <r@golang.org>2008-07-28 10:22:49 -0700
commitea0569026cddcecd8cf6df55dcd24c93fc9769ea (patch)
tree6eb68803e2d4c7f2e7729a2ce21aaea20426893f
parentc1736ed6be4408c0c6607466c48b6501f3dc67a4 (diff)
downloadgo-ea0569026cddcecd8cf6df55dcd24c93fc9769ea.tar.xz
update tests
R=gri OCL=13516 CL=13516
-rw-r--r--test/bugs/bug033.go11
-rw-r--r--test/fixedbugs/bug010.go (renamed from test/bugs/bug010.go)2
2 files changed, 1 insertions, 12 deletions
diff --git a/test/bugs/bug033.go b/test/bugs/bug033.go
deleted file mode 100644
index 603a4aa915..0000000000
--- a/test/bugs/bug033.go
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// $G $D/$F.go && echo BUG: compilation succeeds incorrectly
-
-package main
-
-type Iputs interface {
- puts func(s string); // BUG no func allowed
-}
diff --git a/test/bugs/bug010.go b/test/fixedbugs/bug010.go
index 43f68748dd..e71c4d7f0b 100644
--- a/test/bugs/bug010.go
+++ b/test/fixedbugs/bug010.go
@@ -7,7 +7,7 @@
package main
-func f() (i int, f float) {
+func f(i int, f float) {
i = 8;
f = 8.0;
return;