1// errorcheck
2
3// Copyright 2023 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// The gofrontend used to accept this.
8
9package p
10
11func F2(a int32) bool {
12	return a == C	// ERROR "invalid|incompatible"
13}
14
15const C = uint32(34)
16