Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
redecl1.C
blob: 172a441049057c6901513e656efe068195799488 [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
A
{
public
:
A
(
const
A
&
ccref
);
friend
A
const
re
(
const
A
&
v1
);
// { dg-message "old declaration" }
};
A
// const
re
(
const
A
&
ref
)
// { dg-error "new declaration" }
{
return
A
(
ref
);
}