Debian Codegraph @

gcc/testsuite/go.test/test/fixedbugs/issue30659.dir/a.go

raw
1 // Copyright 2019 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 a
6
7 type I interface {
8 I2
9 }
10 type I2 interface {
11 M()
12 }
13 type S struct{}
14
15 func (*S) M() {}
16
17 func New() I {
18 return &S{}
19 }