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
/
constructor3.C
blob
fe741c833b205512baf1b2a57fd2195e7d39c134
1
/* PR c++/29077 */
2
/* { dg-do compile } */
3
4
class c {
5
c();
6
c(const c&);
7
~c();
8
};
9
10
namespace m {
11
c::c() {} /* { dg-error "c::c" } */
12
c::c(const c&) {} /* { dg-error "c::c" } */
13
c::~c() {} /* { dg-error "c::~c" } */
14
}