test/fixedbugs/bug150.go
raw| 1 | // compile |
| 2 | |
| 3 | // Copyright 2009 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. |
| 6 | |
| 7 | package bug150 |
| 8 | |
| 9 | type T int |
| 10 | func (t T) M() |
| 11 | |
| 12 | type M interface { M() } |
| 13 | |
| 14 | func g() (T, T) |
| 15 | |
| 16 | func f() (a, b M) { |
| 17 | a, b = g(); |
| 18 | return; |
| 19 | } |
| 20 | |
| 21 | /* |
| 22 | bugs/bug150.go:13: reorder2: too many function calls evaluating parameters |
| 23 | */ |