1
0
mirror of https://github.com/golang/go synced 2024-11-25 14:57:57 -07:00
go/test/bugs/bug032.go

12 lines
321 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 I interface {
g,f ()int; // BUG only one method name allowed per signature
}