Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attr-constructor1.C
blob: 93218713cfa82e098a1f3c572d78aed4950ed334 [
file
] [
log
] [
blame
]
// 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" }