typedef int (*pvfi)(int j); void fun() { typedef int i; { typedef float f; i j1; f g1; } i j2; //pvfi for; //j k; //f g2; // <---- ERROR }