mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
25 lines
192 B
Go
25 lines
192 B
Go
|
package main
|
||
|
|
||
|
func main() {
|
||
|
for {
|
||
|
a()
|
||
|
goto loop
|
||
|
}
|
||
|
for i := 0; i < 5; i++ {
|
||
|
a()
|
||
|
break loop
|
||
|
}
|
||
|
for ; i < 10; i++ {
|
||
|
a()
|
||
|
continue loop2
|
||
|
}
|
||
|
for ;; {
|
||
|
a()
|
||
|
continue
|
||
|
}
|
||
|
for x := range y {
|
||
|
a(x)
|
||
|
break
|
||
|
}
|
||
|
}
|