Files
moxa/_test/composite5.go
2020-02-11 10:10:04 +01:00

17 lines
133 B
Go

package main
import "fmt"
type T struct {
m uint16
}
var t = T{1<<2 | 1<<3}
func main() {
fmt.Println(t)
}
// Output:
// {12}