void main(){int * data;int * &data_ref=data;data=NULL;data=(int *)malloc(100*sizeof(int));{int * data=data_ref;delete [] data;}}
static void main(){int * data;int * &data_ref=data;data=NULL;data=new int[100];{int * data=data_ref;delete [] data;}}