3 // Copyright 2021 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Make sure that the compiler can analyze non-reflect
8 // Type.{Method,MethodByName} calls.
19 func (M) MethodByName(string) {}
20 func (M) Method(int) {}