(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
ext/
attr-constructor1.C
// PR c++/59281
// { dg-do compile { target { c++11 && init_priority } } }

enum class E : int { prio = 666 };
void f (int) __attribute__((constructor(E::prio))); // { dg-error "integer" }