Source file test/typeparam/mdempsky/6.go

     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 I[T any] interface{ M() T }
    10  
    11  var _ = I[int].M
    12  

View as plain text