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
/
bug-2492.c
blob
605e2eef6eeda73b4f2466ea85cb0b2689b424a2
1
/*
2
bug-2254.c a bug in stm8 code generation for jumps on immediates
3
*/
4
5
#include <testfwk.h>
6
7
short int
isArmed
(
void
)
8
{
9
return
1
;
10
}
11
12
int
bug
(
void
)
13
{
14
if
(!
isArmed
)
15
return
0
;
16
else
17
return
1
;
18
}
19
20
void
testBug
(
void
)
21
{
22
ASSERT
(
bug
());
23
}
24