void main_sink(struct_type my_struct);void main(){twoints * data;struct_type my_struct;data=NULL;data=new twoints[100];{size_t i;for(i=0;i < 100;i++){data[i].a=1;data[i].b=2;}}delete [] data;my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){twoints * data=my_struct.a;printStructLine(&data[0]);}
static void main(){twoints * data;struct_type my_struct;data=NULL;data=new twoints[100];{size_t i;for(i=0;i < 100;i++){data[i].a=1;data[i].b=2;}}delete [] data;my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){twoints * data=my_struct.a;}