package main func main() { _ = fn1() } func fn1() bool { x := true if x { //@ diag(`should use 'return x'`) return true } return false }