1package a 2 3import "io" 4 5type T interface { 6 M0(_ int) 7 M1(x, _ int) // _ (blank) caused crash 8 M2() (x, _ int) 9} 10 11type S struct{} 12 13func (S) M0(_ int) {} 14func (S) M1(x, _ int) {} 15func (S) M2() (x, _ int) { return } 16func (_ S) M3() {} 17 18// Snippet from x/tools/godoc/analysis/analysis.go. 19// Offending code from #5470. 20type Link interface { 21 Start() int 22 End() int 23 Write(w io.Writer, _ int, start bool) // _ (blank) caused crash 24} 25