☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attr-constructor1.C
☽
☼
gcc/testsuite/g++.dg/ext/attr-constructor1.C
code
plain
raw
1
// PR c++/59281
2
// { dg-do compile { target { c++11 && init_priority } } }
3
4
enum class E : int { prio = 666 };
5
void f (int) __attribute__((constructor(E::prio))); // { dg-error "integer" }