Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / g++.dg / init / array21.C
index f41ce86..fc6abab 100644 (file)
@@ -2,6 +2,6 @@
 
 void foo()
 {
-  const int x[] = 0; // { dg-error "size" }
-  ++x;
+  const int x[] = 0; // { dg-error "initializer" }
+  ++x; // { dg-error "read-only|operand" }
 }