Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
copy1.C
blob: 5c7922f8330058aba7b90e0c362524b0b70b178c [
file
] [
log
] [
blame
]
// PR c++/34824
struct
A
;
struct
B
{
B
(
A
const
&);
B
(
B
&);
// { dg-message "note" }
};
struct
A
{
A
(
B
);
// { dg-message "initializing" }
};
B
f
(
B
const
&
b
)
{
return
b
;
// { dg-error "" }
}