blob: a8b1c5013b6d8f91dfa0a16c730d1fc86d0b7ba9 [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A;
struct B
{
constexpr A & operator= (const A &); // { dg-warning "used" "" { target c++14 } }
};
struct A : B // { dg-error "cannot be overloaded" "" { target c++14 } }
{
using B::operator=;
} a { a = a };