summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr27639.c
blob: 28e4223d81d4be5a35adb32a010482c09e3af570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2 -std=c99" } */

char heap[50000];

int
main ()
{
  for (unsigned ix = sizeof (heap); ix--;)
    heap[ix] = ix;
  return 0;
}