tccpp: fix issues, add tests
[tinycc.git] / tests / tests2 / 72_long_long_constant.c
blob66082133d6581c31271324e17d9905451fa84441
1 #include <stdio.h>
3 int main()
5 long long int res = 0;
7 if (res < -2147483648LL) {
8 printf("Error: 0 < -2147483648\n");
9 return 1;
11 else
12 if (2147483647LL < res) {
13 printf("Error: 2147483647 < 0\n");
14 return 2;
16 else
17 printf("long long constant test ok.\n");
18 return 0;