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
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-991202-1.c
blob
96b43734a44146d6cb3de419ca4487212456c581
1
/*
2
991202-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
int
x
,
y
;
12
13
void
14
testTortureExecute
(
void
)
15
{
16
x
=
2
;
17
y
=
x
;
18
do
19
{
20
x
=
y
;
21
y
=
2
*
y
;
22
}
23
while
( ! ((
y
-
x
) >=
20
));
24
return
;
25
}
26