Sign in
go
/
go
/
18772915a1b9ca211a4bb707de59ee0941b4773b
/
.
/
src
/
internal
/
types
/
testdata
/
fixedbugs
/
issue49864.go
blob: 8ccd77cfea07bb97e4b913e7f07efbc23dde49a2 [
file
] [
log
] [
blame
]
// Copyright 2021 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.
package p
func _[P ~int, Q any](p P) {
_ = Q(p
/* ERROR "cannot convert" */
)
}