1 // errorcheck -0 -d=ssa/prove/debug=2
5 // Copyright 2022 The Go Authors. All rights reserved.
6 // Use of this source code is governed by a BSD-style
7 // license that can be found in the LICENSE file.
13 return x // ERROR "Proved.+is constant 20$"
17 return x + 5 // ERROR "Proved.+is constant 0$"
23 func f0u(x uint) uint {
25 return x // ERROR "Proved.+is constant 20$"
29 return x + 5 // ERROR "Proved.+is constant 0$"