mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 19:53:32 +08:00
3d786f1969
* elf/order2.c: New file. * elf/order2mod1.c: New file. * elf/order2mod2.c: New file. * elf/order2mod3.c: New file. * elf/order2mod4.c: New file.
17 lines
160 B
C
17 lines
160 B
C
#include <stdio.h>
|
|
|
|
extern int bar (void);
|
|
|
|
int
|
|
foo (void)
|
|
{
|
|
return 42 + bar ();
|
|
}
|
|
|
|
static void
|
|
__attribute__ ((destructor))
|
|
fini (void)
|
|
{
|
|
putchar ('3');
|
|
}
|