1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:40:08 -07:00
go/test/bugs/bug033.go

12 lines
308 B
Go
Raw Normal View History

// 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.
2008-06-06 18:05:53 -06:00
// $G $D/$F.go && echo BUG: compilation succeeds incorrectly
package main
type Iputs interface {
puts func(s string); // BUG no func allowed
}