Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.c-torture / compile / 20030305-1.c
index 2f60819..c8e4072 100644 (file)
@@ -12,7 +12,7 @@ typedef struct {
 } s2_t;
 
 static s2_t s2_array[]= {
-    { 1, 4 },
-    { 2, 5 },
-    { 3, 6 }
+    { 1, 4 },  /* { dg-error "(initialization of flexible array member|near)" } */
+    { 2, 5 },  /* { dg-error "(initialization of flexible array member|near)" } */
+    { 3, 6 }   /* { dg-error "(initialization of flexible array member|near)" } */
 };