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