blob: 01223076179e415309a7f865270370b5ec2ab80a [file] [log] [blame]
// run
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Issue 39625.
package main
import "io/ioutil"
func F[T1, T2 any](f func(T1) (T2, error)) {}
func main() {
F(ioutil.ReadAll)
}