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

     1  package main
     2  
     3  type T1 struct {
     4  	A []T2
     5  	B []T2
     6  }
     7  
     8  type T2 struct {
     9  	name string
    10  }
    11  
    12  var t = T1{}
    13  
    14  func main() {
    15  	println("ok")
    16  }
    17  
    18  // Output:
    19  // ok