fail_new.go raw

   1  package main
   2  
   3  func main() {
   4  	p := new(int32) // ERROR: new not allowed
   5  	_ = p
   6  }
   7