7 #if !defined( __SDCC_pdk14) && !defined( __SDCC_pdk15) // pdk needs function pointer to be reentrant even for a single argument
8 typedef int func_t (int a
);
9 typedef int (*func_p_t
)(int a
);
21 func_t
*pa
[2] = {fa
, fb
};
22 func_p_t pb
[2] = {fb
, fa
};
27 #if !defined( __SDCC_pdk14) && !defined( __SDCC_pdk15)
28 ASSERT (pa
[0](5) == 6);
29 ASSERT (pa
[1](5) == 15);
30 ASSERT (pb
[0](15) == 25);
31 ASSERT (pb
[1](15) == 16);