Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / attr-cdtor-1.c
bloba0d069b014dc15a1b02b5d1442f7ee467e29d9e8
1 /* PR c/90658 */
2 /* { dg-do compile { target init_priority } } */
4 void f ();
5 void g1 () __attribute__ ((constructor(f))); /* { dg-error "priorities must be integers" } */
6 void g2 () __attribute__ ((destructor(f))); /* { dg-error "priorities must be integers" } */