7 #if !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // pdk needs function pointer to be reentrant even for a single argument
8 extern int foo0 (int *[]);
9 extern int foo1 (int (*[])(int), int, int);
30 int (*pf
[2])(int) = {f0
, f1
};
32 int foo1 (int (*pf
[])(int), int a
, int b
)
34 return pf
[0](a
) + pf
[1](b
);
40 #if !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15)
41 ASSERT (foo0 (p
) == 89);
42 ASSERT (foo1 (pf
, 4, 8) == 21);