]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Fri, 26 Mar 2004 22:37:18 +0000 (22:37 +0000)
committerNo Author <no-author@gcc.gnu.org>
Fri, 26 Mar 2004 22:37:18 +0000 (22:37 +0000)
'gcc-3_3-branch'.

From-SVN: r79998

gcc/testsuite/gcc.dg/gnu89-init-3.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.dg/gnu89-init-3.c b/gcc/testsuite/gcc.dg/gnu89-init-3.c
new file mode 100644 (file)
index 0000000..bd4283e
--- /dev/null
@@ -0,0 +1,18 @@
+/* PR 11527 */
+/* { dg-do compile } */
+/* { dg-options "-std=gnu89" } */
+
+typedef struct smrdd_memory_blocks_s
+{
+  int blocks;
+  int block[];
+} smrdd_memory_blocks_t;
+
+const smrdd_memory_blocks_t smrdd_memory_blocks =
+{
+  3,
+  {
+    [5] = 5,
+    [1] = 2,
+  }
+};