3 // Copyright 2017 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.
15 func f(x []int32, y *int8) int32 {
24 if got, want := f(x[:], &y), int32(-5); got != want {
25 panic(fmt.Sprintf("wanted %d, got %d", want, got))