(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
parse/
constructor3.C
/* PR c++/29077 */
/* { dg-do compile } */

class c {
  c();
  c(const c&);
  ~c();
};

namespace m {
  c::c() {} /* { dg-error "c::c" } */
  c::c(const c&) {} /* { dg-error "c::c" } */
  c::~c() {} /* { dg-error "c::~c" } */
}