]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/init-empty-1.c
1 /* Test diagnostic for empty initializer braces. Test with no special
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu99" } */
7 struct s
{ int a
; } x
= { };
9 struct s
*p
= &(struct s
){ };