picoc/tests/13_integer_literals.c
zik.saleeba 2e0ff8774c Added missing tests
git-svn-id: http://picoc.googlecode.com/svn/trunk@166 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-08 01:10:29 +00:00

13 lines
190 B
C

int a = 24680;
int b = 01234567;
int c = 0x2468ac;
int d = 0x2468AC;
int e = 0b010101010101;
printf("%d\n", a);
printf("%d\n", b);
printf("%d\n", c);
printf("%d\n", d);
printf("%d\n", e);