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-931110-2.c
blob
e4131147a8998c834dda4ea07d89b167633f3acc
1
/*
2
931110-2.c from the execute part of the gcc torture suite.
3
*/
4
5
#include <testfwk.h>
6
7
#ifdef __SDCC
8
#pragma std_c99
9
#endif
10
11
void
12
testTortureExecute
(
void
)
13
{
14
static int
a
[] = {
3
,
4
};
15
register
int
*
b
;
16
int
c
;
17
18
b
=
a
;
19
c
= *
b
++ %
8
;
20
if
(
c
!=
3
)
21
ASSERT
(
0
);
22
return
;
23
}
24