github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/backup/composite5.gno (about) 1 package main 2 3 import "fmt" 4 5 type T struct { 6 m uint16 7 } 8 9 var t = T{1<<2 | 1<<3} 10 11 func main() { 12 fmt.Println(t) 13 } 14 15 // Output: 16 // struct{(12 uint16)}