Debian Codegraph @

gcc/testsuite/g++.dg/parse/constructor3.C

raw
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 }