void A::Safe() const { Munge(i); // { dg-error "" } should not be able to modify a const object }
void A::Safe() const { Munge(i); // { dg-error "invalid initialization" } }