summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue58563.dir/a.go
blob: 2b716c1b334a0586ca4a0ce28bd1c42ad5242137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2023 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 a

func Start() interface{ Stop() } {
	return new(Stopper)
}

type Stopper struct{}

func (s *Stopper) Stop() {}