github.com/jmigpin/editor@v1.6.0/core/godebug/testdata/src25_defer_nil.txt (about)

     1  # needs to compile and run
     2  ucmd godebugtester run  main.go
     3  
     4  -- main.go --
     5  package main
     6  func main() {	
     7  	defer main2(nil)
     8  	println(1)
     9  }
    10  func main2(a *int){
    11  	println(2)	
    12  }