Debian Codegraph @

gcc/testsuite/gcc.dg/init-empty-1.c

raw
1 /* Test diagnostic for empty initializer braces. Test with no special
2 options. */
3 /* Origin: Joseph Myers <[email protected]> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu99" } */
6
7 struct s { int a; } x = { };
8
9 struct s *p = &(struct s){ };