void main(){twoints * data;union_type my_union;{twoints 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;}my_union.a=data;{twoints * data=my_union.b;printStructLine(&data[0]);delete [] data;}}
static void main(){twoints * data;union_type my_union;{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;}my_union.a=data;{twoints * data=my_union.b;printStructLine(&data[0]);delete [] data;}}