1// compile 2 3// Copyright 2021 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 7package main 8 9func g() bool 10 11func f(y int) bool { 12 b, ok := true, false 13 if y > 1 { 14 ok = g() 15 } 16 if !ok { 17 ok = g() 18 b = false 19 } 20 if !ok { 21 return false 22 } 23 return b 24} 25