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
Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git]
/
sdcc
/
support
/
regression
/
qct
/
0034-logandor.c
blob
5371622d5df0b9ab592a2173dff8c6c0fd2cd5c7
1
2
int
g
;
3
4
int
5
effect
()
6
{
7
g
=
1
;
8
return
1
;
9
}
10
11
int
12
main
()
13
{
14
int
x
;
15
16
g
=
0
;
17
x
=
0
;
18
if
(
x
&&
effect
())
19
return
1
;
20
if
(
g
)
21
return
2
;
22
x
=
1
;
23
if
(
x
&&
effect
()) {
24
if
(
g
!=
1
)
25
return
3
;
26
}
else
{
27
return
4
;
28
}
29
g
=
0
;
30
x
=
1
;
31
if
(
x
||
effect
()) {
32
if
(
g
)
33
return
5
;
34
}
else
{
35
return
6
;
36
}
37
x
=
0
;
38
if
(
x
||
effect
()) {
39
if
(
g
!=
1
)
40
return
7
;
41
}
else
{
42
return
8
;
43
}
44
return
0
;
45
}
46