Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  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. }
  20.