mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 02:50:09 +00:00
20 lines
154 B
C
20 lines
154 B
C
|
#include <stdlib.h>
|
||
|
void
|
||
|
foo (void)
|
||
|
{
|
||
|
exit (0);
|
||
|
}
|
||
|
|
||
|
void
|
||
|
__attribute__((destructor))
|
||
|
bar (void)
|
||
|
{
|
||
|
static int i;
|
||
|
foo ();
|
||
|
++i;
|
||
|
}
|
||
|
void
|
||
|
baz (void)
|
||
|
{
|
||
|
}
|