blob: 4dd37185d729c56ecbba30e13a97afbc42d98bdc [file] [log] [blame]
// PR c++/77375
// { dg-do run { target c++11 } }
struct Base { mutable int i; };
struct Derived : Base {};
const Derived foo{};
int
main ()
{
foo.i = 42;
}