Commit ea056902 authored by Rob Pike's avatar Rob Pike

update tests

R=gri
OCL=13516
CL=13516
parent c1736ed6
// 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment