Debian Codegraph @

gcc/testsuite/c-c++-common/initpri1_part_cd4.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 extern int j;
6
7 CDTOR_LINKAGE
8 void cd4() __attribute__((constructor (800), destructor (800)));
9
10 CDTOR_LINKAGE
11 void cd4() {
12 if (i != 3)
13 __builtin_abort ();
14 ++j;
15 }