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

     1  package main
     2  
     3  import "fmt"
     4  
     5  type T struct{}
     6  
     7  var a = []T{{}}
     8  
     9  func main() {
    10  	fmt.Println(a)
    11  }
    12  
    13  // Output:
    14  // [{}]