blob: c496d6f531e61d544b958e1649455a8d33eb5e25 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <unistd.h>
2
3extern int dep3 (void);
4extern int dep4 (void);
5
6static void
7__attribute__ ((constructor))
8init (void)
9{
10 write (1, "1", 1);
11}
12
13static void
14__attribute__ ((destructor))
15fini (void)
16{
17 write (1, "8", 1);
18}
19
20int
21dep4 (void)
22{
23 return dep3 ();
24}