repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attr-constructor1.C
blob
93218713cfa82e098a1f3c572d78aed4950ed334
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" }