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

     1  package main
     2  
     3  type T struct {
     4  	bool
     5  }
     6  
     7  var t = T{true}
     8  
     9  func main() {
    10  	println(t.bool && true)
    11  }
    12  
    13  // Output:
    14  // true