repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-20030403-1.c
blob
0c7626f5c9061456c8cae0a4e728e36609825712
1
/*
2
20030403-1.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
#ifdef __SDCC
8
#pragma std_c99
9
#endif
10
11
/* The non-destructive folder was always emitting >= when folding
12
comparisons to signed_max+1. */
13
14
#include <limits.h>
15
16
void
17
testTortureExecute
(
void
)
18
{
19
unsigned long
count
=
8
;
20
21
if
(
count
>
INT_MAX
)
22
ASSERT
(
0
);
23
24
return
;
25
}
26