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

     1  package main
     2  
     3  type T struct {
     4  	f int
     5  	g int64
     6  }
     7  
     8  func main() {
     9  	a := T{7, 8}
    10  	println(a.f, a.g)
    11  }
    12  
    13  // Output:
    14  // 7 8