mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 05:03:46 +08:00
f60510ddaf
Checked on x86_64-linux-gnu and i686-linux-gnu.
18 lines
131 B
C
18 lines
131 B
C
#include <stdlib.h>
|
|
void
|
|
foo (void)
|
|
{
|
|
exit (0);
|
|
}
|
|
|
|
void
|
|
__attribute__((destructor))
|
|
bar (void)
|
|
{
|
|
foo ();
|
|
}
|
|
void
|
|
baz (void)
|
|
{
|
|
}
|