#include <memory.h>
void m()
{
int (*f)() = 0;
int *o=(int*)f;
}

void g()
{
int (*f)() = 0;
int *o;
memcpy(&o, &f, sizeof(int*));
}
