Source file test/fixedbugs/issue23546.go
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 10 package main 11 12 func main() { 13 use(f() == f()) 14 } 15 16 func f() [2]interface{} { 17 var out [2]interface{} 18 return out 19 } 20 21 //go:noinline 22 func use(bool) {} 23