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