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 p 6 7type I1 interface { 8 Foo(int) 9} 10 11type I2 interface { 12 foo(int) 13} 14 15type M1 int 16 17func (M1) foo() {} 18 19type M2 int 20 21func (M2) foo(int) {} 22