]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/gnu2x-empty-init-1.c
1 /* Test C2X support for empty initializers: valid use cases with GNU
4 /* { dg-options "-std=gnu2x" } */
6 extern void exit (int);
7 extern void abort (void);
12 struct s
{ volatile int x
[a
]; };
14 for (int i
= 0; i
< a
; i
++)
17 /* Overwrite contents of b.x before second call to make it more likely stack
18 contents are nonzero if proper initialization did not occur. */
19 for (int i
= 0; i
< a
; i
++)