void main(){int * data;int * &data_ref=data;{int * data_buf=(int *)ALLOCA(100*sizeof(int));{size_t i;for (i=0;i < 100;i++){data_buf[i]=5;}}data=data_buf;}{int * data=data_ref;printIntLine(data[0]);delete [] data;}}
static void main(){int * data;int * &data_ref=data;{int * data_buf=new int[100];{size_t i;for (i=0;i < 100;i++){data_buf[i]=5;}}data=data_buf;}{int * data=data_ref;printIntLine(data[0]);delete [] data;}}