PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20010518-2.c
blob0a1bb74f9b13cbba0d743ad8647928ed454b4abd
1 /* { dg-do compile } */
2 /* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */
4 /* Large static storage. */
6 #include <limits.h>
8 static volatile char chars_1[INT_MAX / 2];
9 static volatile char chars_2[1];
11 int
12 foo (void)
14 chars_1[10] = 'y';
15 chars_2[0] = 'x';