1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/test/fixtures/go/if-statements.B.go
2017-10-24 16:00:37 -07:00

23 lines
165 B
Go

package main
func main() {
if x() {
b()
}
if y := b(); c {
d()
}
if z() {
b()
} else {
c()
}
if num := 10; num < 0 {
f()
} else if num < 100 {
g()
} else {
h()
}
}