1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/test/fixtures/go/corpus/for-statements.B.go

35 lines
277 B
Go
Raw Normal View History

2017-02-23 21:06:49 +03:00
package main
func main() {
for ;; {
a()
goto loop
}
for x := range y {
a()
break loop
}
for ;; {
a()
continue loop2
}
for ; i < 10; i++ {
a()
continue
}
for {
a(x)
break
}
for s, i := range b {
g(i, s)
}
for k, v = range m {
h(k, v)
}
2017-11-10 02:41:55 +03:00
for 2 < 1 {
j()
}
for range b {}
2017-02-23 21:06:49 +03:00
}