1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 04:41:47 +03:00
semantic/test/fixtures/go/if-statements.B.go

24 lines
177 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 // comment
if num < 100 {
g()
} else {
h()
}
}