github.com/corona10/go@v0.0.0-20180224231303-7a218942be57/test/fixedbugs/issue15609.dir/main.go (about)

     1  package main
     2  
     3  var called bool
     4  
     5  func target() {
     6  	called = true
     7  }
     8  
     9  func main() {
    10  	jump()
    11  	if !called {
    12  		panic("target not called")
    13  	}
    14  }