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

     1  package main
     2  
     3  type T1 struct {
     4  	T2
     5  }
     6  
     7  type T2 struct {
     8  	*T1
     9  }
    10  
    11  func main() {
    12  	t := T1{}
    13  	println(t)
    14  }
    15  
    16  // Output:
    17  // (struct{(struct{(nil *main.T1)} main.T2)} main.T1)