Debian Codegraph @

test/fixedbugs/issue49100.go

raw
1 // run
2
3 // Copyright 2015 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 f(j int) {
10 loop:
11 for i := 0; i < 4; i++ {
12 if i == 1 {
13 continue loop
14 }
15 println(j, i)
16 }
17 }
18
19 func main() {
20 loop:
21 for j := 0; j < 5; j++ {
22 f(j)
23 if j == 3 {
24 break loop
25 }
26 }
27 }