mirror of
https://github.com/golang/go
synced 2024-11-23 15:20:03 -07:00
e7173dfdfd
* bug248, bug345, bug369, and bug429 were ported from bash commands to run scripts. bug369 remains disabled. * bug395 is a test for issue 1909, which is still open. It is marked as skip now and will be usable with compile with run.go when issue 1909 is fixed. Fixes #4139 Updates #1909 Change-Id: Ibb5fbfb5cf72ddc285829245318eeacd3fb5a636 Reviewed-on: https://go-review.googlesource.com/1774 Reviewed-by: Russ Cox <rsc@golang.org>
25 lines
446 B
Go
25 lines
446 B
Go
// skip
|
|
|
|
// When issue 1909 is fixed, change from skip to compile.
|
|
|
|
// Copyright 2011 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.
|
|
|
|
// Issue 1909
|
|
// Would OOM due to exponential recursion on Foo's expanded methodset in nodefmt
|
|
|
|
package test
|
|
|
|
type Foo interface {
|
|
Bar() interface {
|
|
Foo
|
|
}
|
|
Baz() interface {
|
|
Foo
|
|
}
|
|
Bug() interface {
|
|
Foo
|
|
}
|
|
}
|