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
remove a compilation warnings for libtest and test3
[tinycc.git]
/
tests
/
tests2
/
13_integer_literals.c
blob
7cee98b1f1975f0733d9c761cd5b7b1633840dd9
1
#include <stdio.h>
2
3
int
main
()
4
{
5
int
a
=
24680
;
6
int
b
=
01234567
;
7
int
c
=
0x2468ac
;
8
int
d
=
0x2468AC
;
9
int
e
=
0b010101010101
;
10
11
printf
(
"%d
\n
"
,
a
);
12
printf
(
"%d
\n
"
,
b
);
13
printf
(
"%d
\n
"
,
c
);
14
printf
(
"%d
\n
"
,
d
);
15
printf
(
"%d
\n
"
,
e
);
16
17
return
0
;
18
}
19
20
// vim: set expandtab ts=4 sw=3 sts=3 tw=80 :