Debian Codegraph @

test/fixedbugs/issue45323.go

raw
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
7 package main
8
9 func g() bool
10
11 func 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 }