aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr50459-2.c
blob: 0e8fec3e2e54e6d7920b0f9b79251a05178aca03 (plain)
1
2
3
4
5
6
7
/* PR c/50459 */
/* { dg-do compile { target init_priority } } */
/* { dg-options "-Wall -Wextra" } */

enum { A = 128, B = 1 };
void fn3 (void) __attribute__((constructor (A)));
void fn4 (void) __attribute__((destructor (A)));