github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/map19b.gno (about)

     1  package main
     2  
     3  type cmap struct {
     4  	servers map[int64]*server
     5  }
     6  
     7  type server struct {
     8  	cm *cmap
     9  }
    10  
    11  func main() {
    12  	m := cmap{}
    13  	println(m)
    14  }
    15  
    16  // Output:
    17  // (struct{(nil map[int64]*main.server)} main.cmap)