void main(){char * data;char * &data_ref=data;data=NULL;data=new char;{char * data=data_ref;free(data);}}
static void main(){char * data;char * &data_ref=data;data=NULL;data=(char *)malloc(100*sizeof(char));{char * data=data_ref;free(data);}}