summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr35607.c
blob: 7f5aa7a2b7c22aa3e2776bbc57e8bd6dd1420a51 (plain)
1
2
3
4
5
6
7
8
9
extern void (*__fini_array_start []) (void);
extern void (*__fini_array_end []) (void);
void
__libc_csu_fini (void)
{
  __SIZE_TYPE__ i = __fini_array_end - __fini_array_start;
  while (i-- > 0)
    (*__fini_array_start [i]) ();
}