Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20010518-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */
3
4 /* Large static storage. */
5
6 #include <limits.h>
7
8 static volatile char chars_1[INT_MAX / 2];
9 static volatile char chars_2[1];
10
11 int
12 foo (void)
13 {
14 chars_1[10] = 'y';
15 chars_2[0] = 'x';
16 }