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