Debian Codegraph @

gcc/testsuite/c-c++-common/initpri1_part_d2.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 d2() __attribute__((destructor (700)));
8
9 CDTOR_LINKAGE
10 void d2() {
11 if (--i != 2)
12 __builtin_abort ();
13 }