1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00
semantic/test/fixtures/go/corpus/if-statements.B.go
2018-04-18 13:33:17 -07:00

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()
}
}