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-2551.c
blob
e6568bfe44bf8fa712956e43553fd7a2cd05de62
1
/*
2
bug-2551.c
3
*/
4
5
#include <testfwk.h>
6
#include <stdint.h>
7
8
volatile
uint8_t
ff
=
0xff
;
9
10
static
inline
uint16_t
and
(
uint16_t
a
,
uint16_t
b
) {
11
uint16_t
r
=
a
&
b
;
12
return
r
;
13
}
14
15
void
testBug
(
void
) {
16
goto
cond
;
17
18
cond
:
19
if
((~((
and
(
ff
,
128
) !=
0
)&
1
))&
1
)
20
goto
cond
;
21
else
22
goto
end
;
23
24
end
:
25
;
26
}
27