PR c/29467
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_ptr_7.c
blob7e9542fd86e9df39fadf38bbd17598cfc6c55604
1 /* Procedure pointer test. Used by proc_ptr_7.f90.
2 PR fortran/32580. */
4 int f(void) {
5 return 42;
8 void assignf_(int(**ptr)(void)) {
9 *ptr = f;