Debian Codegraph @

gcc/testsuite/gcc.dg/pr59351.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=c99 -Wpedantic" } */
3
4 unsigned int
5 foo (void)
6 {
7 return sizeof ((int[]) {}); /* { dg-warning "ISO C forbids empty initializer braces" } */
8 }