Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20030403-1.c
blob0c7626f5c9061456c8cae0a4e728e36609825712
1 /*
2 20030403-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 /* The non-destructive folder was always emitting >= when folding
12 comparisons to signed_max+1. */
14 #include <limits.h>
16 void
17 testTortureExecute (void)
19 unsigned long count = 8;
21 if (count > INT_MAX)
22 ASSERT (0);
24 return;