mirror of
https://github.com/golang/go
synced 2024-11-25 02:07:58 -07:00
update tests
R=gri OCL=13516 CL=13516
This commit is contained in:
parent
c1736ed6be
commit
ea0569026c
@ -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
|
||||
}
|
@ -7,7 +7,7 @@
|
||||
package main
|
||||
|
||||
|
||||
func f() (i int, f float) {
|
||||
func f(i int, f float) {
|
||||
i = 8;
|
||||
f = 8.0;
|
||||
return;
|
Loading…
Reference in New Issue
Block a user