void main_source(twointsclass * &data){{twointsclass data_buf[100];{size_t i;for (i=0;i < 100;i++){data_buf[i].a=1;data_buf[i].b=1;}}data=data_buf;}}void main(){twointsclass * data;main_source(data);printIntLine(data[0].a);delete [] data;}
static void main_source(twointsclass * &data){{twointsclass * data_buf=new twointsclass[100];{size_t i;for (i=0;i < 100;i++){data_buf[i].a=1;data_buf[i].b=1;}}data=data_buf;}}static void main(){twointsclass * data;main_source(data);printIntLine(data[0].a);delete [] data;}