3 // Copyright 2012 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Issue 4156: out of fixed registers when chaining method calls.
8 // Used to happen with 6g.
12 type test_i interface {
20 func newTest() *test_t {
24 type testFn func(string) testFn
44 panic("Result returned false unexpectedly")
48 func (t *test_t) Test() test_i {
52 func (t *test_t) Result() bool {