* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr47086.c
blob71743fe4fe5cdf9c6a4d4ac31cdbb02a8a82a223
1 /* { dg-do compile } */
2 /* { dg-options "-O -fexceptions -fnon-call-exceptions -ftrapv" } */
4 void
5 foo ()
7 int n = 0;
8 while (1)
10 int i[n % 1];
11 n++;