void main_sink(struct_type my_struct);void main(){wchar_t * data;struct_type my_struct;data=NULL;data=new wchar_t[100];wmemset(data, L'A', 100-1);data[100-1]=L'\0';delete [] data;my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){wchar_t * data=my_struct.a;printWLine(data);}
static void main(){wchar_t * data;struct_type my_struct;data=NULL;data=new wchar_t[100];wmemset(data, L'A', 100-1);data[100-1]=L'\0';delete [] data;my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){wchar_t * data=my_struct.a;}