Source file test/fixedbugs/issue25101.go

     1  // compile
     2  
     3  // Copyright 2018 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.
     6  
     7  // Indexed export format must not crash when writing
     8  // the anonymous parameter for m.
     9  
    10  package p
    11  
    12  var x interface {
    13  	m(int)
    14  }
    15  
    16  var M = x.m
    17  

View as plain text