1// compile
2
3// Copyright 2019 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
7package p
8
9var (
10	x  int
11	xs []int
12)
13
14func a([]int) (int, error)
15
16func b() (int, error) {
17	return a(append(xs, x))
18}
19
20func c(int, error) (int, error)
21
22func d() (int, error) {
23	return c(b())
24}
25