☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
parse
/
constructor3.C
☽
☼
gcc/testsuite/g++.dg/parse/constructor3.C
code
plain
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
}