nptl: Add more coverage in tst-cancel4
[glibc.git] / elf / dep4.c
blobc496d6f531e61d544b958e1649455a8d33eb5e25
1 #include <unistd.h>
3 extern int dep3 (void);
4 extern int dep4 (void);
6 static void
7 __attribute__ ((constructor))
8 init (void)
10 write (1, "1", 1);
13 static void
14 __attribute__ ((destructor))
15 fini (void)
17 write (1, "8", 1);
20 int
21 dep4 (void)
23 return dep3 ();