rt_gccstream/gcc/testsuite/gfortran.dg/proc_ptr_8.c

15 lines
141 B
C

/* Used by proc_ptr_8.f90.
PR fortran/32580. */
int (*funpointer)(int);
int f(int t)
{
return t*3;
}
void init()
{
funpointer=f;
}