Closed JonathanFoo0523 closed 1 month ago
void foo() {
const int a = 4;
constexpr char b[a]{};
}
After mutation this leads to:
error: constexpr variable cannot have non-literal type 'const char[a]'
void foo() {
const int a = 4;
static constexpr char b[a]{};
}
After mutation this leads to an error similar to the one above.
Applying dredd to
produce
which caused the error
This bug is similar in nature to issue #263 (addressed by PR #273 )