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-pr69403.c
blob
45cb049717f97da1373da88aa2c7779d92b11606
1
/*
2
pr69403.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
/* PR target/69403. */
12
13
int
a
,
b
,
c
;
14
15
int
16
fn1
()
17
{
18
if
((
b
| (
a
!= (
a
&
c
))) ==
1
)
19
ASSERT
(
0
);
20
return
0
;
21
}
22
23
void
24
testTortureExecute
(
void
)
25
{
26
a
=
5
;
27
c
=
1
;
28
b
=
6
;
29
fn1
();
30
return
;
31
}
32