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-pr68911.c
blob
87c2e05363bbba6b7cce769607900326629375f9
1
/*
2
pr68911.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
char
a
;
12
int
b
,
c
;
13
short
d
;
14
15
void
16
testTortureExecute
(
void
)
17
{
18
unsigned
e
=
2
;
19
unsigned
timeout
=
0
;
20
21
for
(;
c
<
2
;
c
++)
22
{
23
int
f
= ~
e
/
7
;
24
if
(
f
)
25
a
=
e
= ~(
b
&&
d
);
26
while
(
e
<
94
)
27
{
28
e
++;
29
if
(++
timeout
>
100
)
30
goto
die
;
31
}
32
}
33
return
;
34
die
:
35
ASSERT
(
0
);
36
}