summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/compile/20010518-2.c
blob: aa8ce344c052b7dbfc50a069633c03c0d303e634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Large static storage.  */

#include <limits.h>

static volatile char chars_1[INT_MAX / 2];
static volatile char chars_2[1];

int
foo (void)
{
  chars_1[10] = 'y';
  chars_2[0] = 'x';
}
OpenPOWER on IntegriCloud