test/fixedbugs/issue28430.go
raw| 1 | // compile |
| 2 | |
| 3 | // Copyright 2018 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 | // Issue 28390/28430: Function call arguments were not |
| 8 | // converted correctly under some circumstances. |
| 9 | |
| 10 | package main |
| 11 | |
| 12 | func g(_ interface{}, e error) |
| 13 | func h() (int, error) |
| 14 | |
| 15 | func f() { |
| 16 | g(h()) |
| 17 | } |