1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* { dg-do compile } */ /* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */ /* 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'; }