rt_gccstream/gcc/testsuite/gcc.c-torture/compile/funcptr-1.c

20 lines
176 B
C

extern int (*gp)(const char*);
int
g (const char* d)
{
printf ("g");
return 0;
}
f ()
{
int errcnt=0;
if (gp != g)
{
printf ("f");
errcnt++;
}
}