blob: 0a3c0de268afaf468d84ffa610c702363ea54e64 [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A // { dg-error "const|operator=" }
{
const int i;
};
int main()
{
A a = { 0 };
a = a; // { dg-error "deleted" }
}