void main_sink(struct_type my_struct);void main(){twointsclass * data;struct_type my_struct;data=NULL;data=new twointsclass[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){twointsclass * data=my_struct.a;printIntLine(data[0].a);}
static void main(){twointsclass * data;struct_type my_struct;data=NULL;data=new twointsclass[100];{size_t i;for(i=0;i < 100;i++){data[i].a=1;data[i].b=2;}}my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){twointsclass * data=my_struct.a;printIntLine(data[0].a);}