summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr47372-1.c
blob: a2e5c5b4141ef8e2da0324270cab27dacb47c581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -fPIC -g" } */

typedef struct FILE FILE;
int _fwalk(int (*)(FILE *));
int __sflush(FILE *);
int
fflush(FILE *fp)
{
  return (_fwalk(__sflush));
}