Debian Codegraph @

gcc/testsuite/c-c++-common/initpri1_part_c1.c

raw
1 /* { dg-skip-if part { *-*-* } } */
2 /* Via the magic string "-std=*++" indicate that testing one (the default) C++ standard is sufficient. */
3
4 extern int i;
5
6 CDTOR_LINKAGE
7 void c1() __attribute__((constructor (500)));
8
9 CDTOR_LINKAGE
10 void c1() {
11 if (i++ != 0)
12 __builtin_abort ();
13 }