diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr27639.c')
| -rw-r--r-- | gcc/testsuite/gcc.dg/pr27639.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr27639.c b/gcc/testsuite/gcc.dg/pr27639.c new file mode 100644 index 0000000..28e4223 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr27639.c @@ -0,0 +1,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; +} |
