1 // PR c++/27722 2 foo()3 void foo() 4 { 5 const int x[] = 0; // { dg-error "initializer" } 6 ++x; // { dg-error "read-only|operand" } 7 } 8