Debian Codegraph @

gcc/testsuite/gcc.dg/pr47086.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O -fexceptions -fnon-call-exceptions -ftrapv" } */
3 /* { dg-require-effective-target exceptions } */
4
5 void
6 foo ()
7 {
8 int n = 0;
9 while (1)
10 {
11 int i[n % 1];
12 n++;
13 }
14 }
15