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

     1  package main
     2  
     3  func f() (bool, int) { return true, 2 }
     4  
     5  func g() (bool, int) { return f() }
     6  
     7  func main() {
     8  	b, i := g()
     9  	println(b, i)
    10  }
    11  
    12  // Output:
    13  // true 2