github.com/flyinox/gosm@v0.0.0-20171117061539-16768cb62077/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 }