Rebase.
[official-gcc.git] / gcc / testsuite / g++.dg / overload / copy1.C
blob5c7922f8330058aba7b90e0c362524b0b70b178c
1 // PR c++/34824
3 struct A;
5 struct B
7   B (A const &);
8   B (B &);                      // { dg-message "note" }
9 };
11 struct A
13   A (B);                        // { dg-message "initializing" }
17 f (B const& b)
19   return b;                     // { dg-error "" }