void b_main_sink(_struct_type my_struct);void _main(){twoints * data;_struct_type my_struct;twoints * data_mainbuf=(twoints *)ALLOCA(50*sizeof(twoints));twoints * data_goodbuf=(twoints *)ALLOCA(100*sizeof(twoints));data=data_mainbuf;my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){twoints * data=my_struct.a;{twoints src[100];{size_t i;for (i=0;i < 100;i++){src[i].a=0;src[i].b=0;}}memcpy(data, src, 100*sizeof(twoints));printStructLine(&data[0]);}}
void b_main_sink(_struct_type my_struct);static void main(){twoints * data;_struct_type my_struct;twoints * data_badbuf=(twoints *)ALLOCA(50*sizeof(twoints));twoints * data_goodbuf=(twoints *)ALLOCA(100*sizeof(twoints));data=data_goodbuf;my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){twoints * data=my_struct.a;{twoints src[100];{size_t i;for (i=0;i < 100;i++){src[i].a=0;src[i].b=0;}}memcpy(data, src, 100*sizeof(twoints));printStructLine(&data[0]);}}