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 "" }
}