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 4167: inlining of a (*T).Method expression taking
8 // its arguments from a multiple return breaks the compiler.
16 func (this *pa) func1() (v *p, c int) {
24 func (this *pa) func2() p {
25 return (*p).func3(this.func1())
28 func (this *p) func3(f int) p {
32 func (this *pa) func2dots() p {
33 return (*p).func3(this.func1())
36 func (this *p) func3dots(f ...int) p {
43 if int(length) != len(arr) {
44 panic("length != len(arr)")
46 length = arr.func2dots()
47 if int(length) != len(arr) {
48 panic("length != len(arr)")