Debian Codegraph @

_test/const12.go

raw symbols SCIP
1 package main
2
3 type Kind int
4
5 const (
6 None Kind = 0
7 Left Kind = 1 << iota
8 Right
9 Both Kind = Left | Right
10 )
11
12 func main() {
13 println(None, Left, Right, Both)
14 }
15
16 // Output:
17 // 0 2 4 6