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++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
enum3.C
blob
81e6963567811aa2141859e83d92aabdcc7c87f1
1
// PR c++/28261
2
3
struct A {}; // { dg-message "A::A" }
4
// { dg-message "defined here" "" { target *-*-* } .-1 }
5
6
A::A (enum { e }) {} // { dg-error "no declaration matches" }
7
// { dg-error "in parameter types" "" { target *-*-* } .-1 }