17 static char (* __xdata func_ptr
) (char);
22 #if !defined( __SDCC_pdk14) && !defined( __SDCC_pdk15) // pdk needs function pointer to be reentrant even for a single argument
30 ASSERT(func_ptr(a
) == 9);
31 ASSERT(func_ptr(b
) == 9);
33 // error passing s.c to func
34 ASSERT(func_ptr(s
.c
) == 9);