1// run 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// Issue 23546: type..eq function not generated when 8// DWARF is disabled. 9 10package main 11 12func main() { 13 use(f() == f()) 14} 15 16func f() [2]interface{} { 17 var out [2]interface{} 18 return out 19} 20 21//go:noinline 22func use(bool) {} 23