github.com/traefik/yaegi@v0.15.1/_test/assign14.go (about)

     1  package main
     2  
     3  var optionsG map[string]string = nil
     4  
     5  var roundG = 30
     6  
     7  func main() {
     8  	dummy := roundG
     9  	roundG = dummy + 1
    10  	println(roundG)
    11  	println(optionsG == nil)
    12  }
    13  
    14  // Output:
    15  // 31
    16  // true