Source file test/fixedbugs/issue34577.dir/a.go

     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  
     5  package a
     6  
     7  type A struct {
     8  	x int
     9  }
    10  
    11  type AI interface {
    12  	bar()
    13  }
    14  
    15  type AC int
    16  
    17  func (ab AC) bar() {
    18  }
    19  
    20  const (
    21  	ACC = AC(101)
    22  )
    23  
    24  //go:noinline
    25  func W(a A, k, v interface{}) A {
    26  	return A{3}
    27  }
    28  

View as plain text