blob: c449c3aabc0d8185054910d382667fbf3dad3f79 [file] [log] [blame]
// PR c++/58102
// { dg-do compile { target c++11 } }
struct S {
mutable int n;
constexpr S() : n() {}
};
constexpr S s = {};
constexpr S s2 = s; // { dg-error "mutable" }