1 /* { dg-do run { target init_priority } } */
2 /* { dg-require-effective-target lto } */
3 /* { dg-options "-flto -O3" } */
10 void c1() __attribute__((constructor (500)));
11 void c2() __attribute__((constructor (700)));
12 void c3() __attribute__((constructor (600)));
29 void d1() __attribute__((destructor (500)));
30 void d2() __attribute__((destructor (700)));
31 void d3() __attribute__((destructor (600)));
50 void cd4() __attribute__((constructor (800), destructor (800)));