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

     1  package main
     2  
     3  import "std"
     4  
     5  func main() {
     6  	defer func() {
     7  		// assert panic is recoverable
     8  		println(recover())
     9  	}()
    10  	std.GetCallerAt(0)
    11  }
    12  
    13  // Output:
    14  // GetCallerAt requires positive arg