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
/
0032-indec.c
blob
55281cbd4943860c318cc5138d27674795b54239
1
2
int
3
zero
()
4
{
5
return
0
;
6
}
7
8
int
9
one
()
10
{
11
return
1
;
12
}
13
14
int
15
main
()
16
{
17
int
x
;
18
int
y
;
19
20
x
=
zero
();
21
y
= ++
x
;
22
if
(
x
!=
1
)
23
return
1
;
24
if
(
y
!=
1
)
25
return
1
;
26
27
x
=
one
();
28
y
= --
x
;
29
if
(
x
!=
0
)
30
return
1
;
31
if
(
y
!=
0
)
32
return
1
;
33
34
x
=
zero
();
35
y
=
x
++;
36
if
(
x
!=
1
)
37
return
1
;
38
if
(
y
!=
0
)
39
return
1
;
40
41
x
=
one
();
42
y
=
x
--;
43
if
(
x
!=
0
)
44
return
1
;
45
if
(
y
!=
1
)
46
return
1
;
47
48
return
0
;
49
}