experiments

All kinds of coding experiments
Log | Files | Refs | Submodules

niltest.go (165B)


      1 package main
      2 
      3 func main() {
      4 	var tester *[]string
      5 	if tester == nil {
      6 		print("success\n")
      7 	}
      8 	tester = new([]string)
      9 	if tester != nil {
     10 		print("success\n")
     11 	}
     12 
     13 }