1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00
semantic/test/fixtures/go/switch-statements.A.go

12 lines
121 B
Go
Raw Normal View History

2017-02-23 21:06:49 +03:00
package main
func main() {
switch { case x < y: f1()
2017-11-15 21:57:12 +03:00
case x < z:
// comment 1
g()
// comment 2
2017-02-23 21:06:49 +03:00
case x == 4: h()
}
}