Source file test/fixedbugs/issue52128.dir/b.go

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package b
     6  
     7  import (
     8  	"./a"
     9  )
    10  
    11  type S struct{}
    12  
    13  func (s *S) M1() a.I {
    14  	return a.NewWithF(s.M2)
    15  }
    16  
    17  func (s *S) M2() {}
    18  

View as plain text