github.com/megatontech/mynoteforgo@v0.0.0-20200507084910-5d0c6ea6e890/源码/cmd/compile/internal/gc/testdata/reproducible/issue27013.go (about)

     1  // Copyright 2018 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  
     5  package p
     6  
     7  func A(arg interface{}) {
     8  	_ = arg.(interface{ Func() int32 })
     9  	_ = arg.(interface{ Func() int32 })
    10  	_ = arg.(interface{ Func() int32 })
    11  	_ = arg.(interface{ Func() int32 })
    12  	_ = arg.(interface{ Func() int32 })
    13  	_ = arg.(interface{ Func() int32 })
    14  	_ = arg.(interface{ Func() int32 })
    15  }