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