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

     1  package main
     2  
     3  func main() {
     4  	x := 1
     5  	{
     6  		x := (func() int { x := x + 100; return x + 10000 })()
     7  		println(x)
     8  	}
     9  }
    10  
    11  // Output:
    12  // 10101