1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 18:23:44 +03:00
semantic/test/fixtures/go/for-statements.A.go
2017-10-31 15:21:26 -07:00

32 lines
281 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
}
for i, s := range a {
g(i, s)
}
for key, val = range m {
h(key, val)
}
for range ch {}
}