Debian Codegraph @

gcc/testsuite/gcc.dg/pr116284.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu23" } */
3
4 // There should be no warning about variably-modified types
5
6 static int a[0];
7 static int b[sizeof a];
8
9 void foo(int (*x)[*]);
10
11 static int c[0];
12 static int d[sizeof c];
13
14