repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Turn on a implicit-function-declaration warning by default.
[tinycc.git]
/
tests
/
tests2
/
72_long_long_constant.c
blob
a698fd623d311c6af053a0d9ed4f48776d0e18ec
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
return
0
;
17
}