blob: e67eed111ac25e6ea9f9768e2da75266167b9467 [file] [log] [blame]
// PR c++/71979
// { dg-do compile { target c++11 } }
struct A
{
A & operator= (A &);
};
struct B : A {}; // { dg-error "cannot bind" }
void foo ()
{
B b;
b = B (); // { dg-error "use of deleted" }
}