Source file src/internal/types/testdata/fixedbugs/issue73428.go
1 // Copyright 2025 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 f() {} 8 9 const c = 0 10 11 var v int 12 var _ = f < c // ERROR "invalid operation: f < c (mismatched types func() and untyped int)" 13 var _ = f < v // ERROR "invalid operation: f < v (mismatched types func() and int)" 14