1 /* { dg-do compile } */
2 /* { dg-require-stack-check "" } */
3 /* { dg-options "-O -fstack-check" } */
4 
foo(int n)5 void foo (int n)
6 {
7   volatile char arr[64 * 1024];
8 
9   arr[n] = 1;
10 }
11