Debian Codegraph @

gcc/testsuite/gcc.dg/pr109450-1.c

raw
1 /* PR c/109450
2 * { dg-do run }
3 * { dg-options "-std=gnu99" }
4 * */
5
6 int bar(int n, struct foo* x) /* { dg-warning "not be visible" } */
7 {
8 int a = n;
9 struct foo { char buf[n++]; }* p = x;
10 return a;
11 }
12
13 int main()
14 {
15 if (1 != bar(1, 0))
16 __builtin_abort();
17 }
18
19
20
21