void main_sink(twoints * data);void main(){twoints * data;void (*func_ptr) (twoints *)=main_sink;{twoints * data_buf=(twoints *)ALLOCA(100*sizeof(twoints));{size_t i;for (i=0;i < 100;i++){data_buf[i].a=1;data_buf[i].b=1;}}data=data_buf;}func_ptr(data);}void main_sink(twoints * data){printStructLine(&data[0]);delete [] data;}
void main_sink(twoints * data);static void main(){twoints * data;void (*func_ptr) (twoints *)=main_sink;{twoints * data_buf=new twoints[100];{size_t i;for (i=0;i < 100;i++){data_buf[i].a=1;data_buf[i].b=1;}}data=data_buf;}func_ptr(data);}void main_sink(twoints * data){printStructLine(&data[0]);delete [] data;}