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-20001009-1.c
blob
7afefc594fe74e146fbf0e7fe6406a7804fadcf2
1
/*
2
20001009-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
a
,
b
;
12
13
void
14
testTortureExecute
(
void
)
15
{
16
int
c
=-
2
;
17
int
d
=
0xfe
;
18
int
e
=
a
&
1
;
19
int
f
=
b
&
2
;
20
if
((
char
)(
c
|(
e
&
f
)) == (
char
)
d
)
21
return
;
22
else
23
ASSERT
(
0
);
24
}
25