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

     1  package main
     2  
     3  func main() {
     4  	for {
     5  		goto here
     6  	here:
     7  		println("ok")
     8  		return
     9  	}
    10  }
    11  
    12  // Output:
    13  // ok