wchar_t * main_source(wchar_t * data);void main(){wchar_t * data;data=NULL;data=main_source(data);delete [] data;}wchar_t * main_source(wchar_t * data){{wchar_t mystring[]=L"mystring";data=wcsdup(mystring);}return data;}
static void main(){wchar_t * data;data=NULL;data=main_source(data);delete [] data;}wchar_t * main_source(wchar_t * data){data=new wchar_t[100];return data;}