1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00
semantic/test/fixtures/go/if-statements.A.go
2017-10-24 16:00:37 -07:00

23 lines
163 B
Go

package main
func main() {
if a() {
b()
}
if a := b(); c {
d()
}
if a() {
b()
} else {
c()
}
if num := 9; num < 0 {
d()
} else if num < 10 {
e()
} else {
f()
}
}