void main_source(wchar_t * &data){data=new wchar_t[50];}void main(){wchar_t * data;data=NULL;main_source(data);{wchar_t src[100];memmove(data, src, 100*sizeof(wchar_t));printWLine(data);delete [] data;}}
static void main_source(wchar_t * &data){data=new wchar_t[100];}static void main(){wchar_t * data;data=NULL;main_source(data);{wchar_t src[100];memmove(data, src, 100*sizeof(wchar_t));printWLine(data);delete [] data;}}