typedef int (*P_f1)(); class A { static int f1() { return 1; } P_f1 getPf1() { return f1; }
typedef int (*P_f1)(); class A { int f1() { return 1; } P_f1 getPf1() { return f1; }