Debian Codegraph @

test/typeparam/mdempsky/5.go

raw
1 // compile
2
3 // Copyright 2021 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 package a
8
9 type X[T any] int
10
11 func (X[T]) F(T) {}
12
13 func x() {
14 X[interface{}](0).F(0)
15 }