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
/
tcc
/
72_long_long_constant.c
blob
66082133d6581c31271324e17d9905451fa84441
1
#include <stdio.h>
2
3
int
main
()
4
{
5
long long int
res
=
0
;
6
7
if
(
res
< -
2147483648LL
) {
8
printf
(
"Error: 0 < -2147483648
\n
"
);
9
return
1
;
10
}
11
else
12
if
(
2147483647LL
<
res
) {
13
printf
(
"Error: 2147483647 < 0
\n
"
);
14
return
2
;
15
}
16
else
17
printf
(
"long long constant test ok.
\n
"
);
18
return
0
;
19
}