1
0
mirror of https://github.com/golang/go synced 2024-11-26 00:28:00 -07:00
go/test/bugs/bug034.go

13 lines
305 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 Item interface {
Print_BUG func(); // BUG no func allowed
}