Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
constructor3.C
blob: fe741c833b205512baf1b2a57fd2195e7d39c134 [
file
] [
log
] [
blame
]
/* 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" } */
}