blob: fc6abab551b036ee81528eac1b7072f79cc4e71d [file] [log] [blame]
// PR c++/27722
void foo()
{
const int x[] = 0; // { dg-error "initializer" }
++x; // { dg-error "read-only|operand" }
}