]> Cypherpunks repositories - gostls13.git/commitdiff
update tests
authorRob Pike <r@golang.org>
Mon, 28 Jul 2008 17:22:49 +0000 (10:22 -0700)
committerRob Pike <r@golang.org>
Mon, 28 Jul 2008 17:22:49 +0000 (10:22 -0700)
R=gri
OCL=13516
CL=13516

test/bugs/bug033.go [deleted file]
test/fixedbugs/bug010.go [moved from test/bugs/bug010.go with 94% similarity]

diff --git a/test/bugs/bug033.go b/test/bugs/bug033.go
deleted file mode 100644 (file)
index 603a4aa..0000000
+++ /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
-}
similarity index 94%
rename from test/bugs/bug010.go
rename to test/fixedbugs/bug010.go
index 43f68748dda6fa5f22934bf8049ee35b9c50be2c..e71c4d7f0bccdc76c70abf05f4e3aa06115ac5d6 100644 (file)
@@ -7,7 +7,7 @@
 package main
 
 
-func f() (i int, f float) {
+func f(i int, f float) {
        i = 8;
        f = 8.0;
        return;