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-pr36691.c
blob
4b00f6555485e6ae2ba1b1d84c35635ed767f601
1
/*
2
pr36691.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
unsigned char
g_5
;
12
13
void
func_1
(
void
)
14
{
15
for
(
g_5
=
9
;
g_5
>=
4
;
g_5
-=
5
)
16
;
17
}
18
19
void
20
testTortureExecute
(
void
)
21
{
22
#if !(defined (__GNUC__) && defined (__GNUC_MINOR__) && (__GNUC__ < 5 && __GNUC_MINOR__ < 4))
23
func_1
();
24
if
(
g_5
!=
0
)
25
ASSERT
(
0
);
26
return
;
27
#endif
28
}
29