Debian Codegraph @

gcc/testsuite/c-c++-common/initpri1_part_c3.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 c3() __attribute__((constructor (600)));
8
9 CDTOR_LINKAGE
10 void c3() {
11 if (i++ != 1)
12 __builtin_abort ();
13 }