Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr27639.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-O2 -std=c99" } */ | |
3 #if(__SIZEOF_INT__ >= 4) | |
4 char heap[50000]; | |
5 #else | |
6 char heap[32000]; | |
7 #endif | |
8 int | |
9 main () | |
10 { | |
11 for (unsigned ix = sizeof (heap); ix--;) | |
12 heap[ix] = ix; | |
13 return 0; | |
14 } |