blob: cc6cce0e4a1b206c05ff7ef1ad590d04c39ec7b5 [file] [log] [blame]
// PR c++/34180
struct G {
G();
G(G&); // { dg-message "" "candidate" }
};
class A // { dg-error "" }
{
const G g;
};
int main()
{
A a;
A b = a; // { dg-message "required here|deleted" }
}