Fix cexpl when compiled with latest GCC
[glibc.git] / elf / tst-initorder2.c
blob050f9568b807962a098f158c6dd7222e94c3d1ed
1 #include <stdio.h>
3 #ifndef NAME
4 int
5 main (void)
7 puts ("main");
9 #else
10 static void __attribute__ ((constructor))
11 init (void)
13 puts ("init: " NAME);
15 static void __attribute__ ((destructor))
16 fini (void)
18 puts ("fini: " NAME);
20 #endif