update tests

R=gri
OCL=13516
CL=13516
This commit is contained in:
Rob Pike 2008-07-28 10:22:49 -07:00
parent c1736ed6be
commit ea0569026c
2 changed files with 1 additions and 12 deletions

View file

@ -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
}

View 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;