Home | History | Annotate | Download | only in data
      1 // Check integer operations
      2 
      3 void loops() {
      4     int y;
      5     printf("++\n");
      6     for(y = 0; y < 10; y++) {
      7         printf("%d\n", y);
      8     }
      9     printf("--\n");
     10     for(y = 10; y >= 0; y--) {
     11         printf("%d\n", y);
     12     }
     13 }
     14 
     15 void checkLiterals() {
     16     printf("Literals: %d %d\n", 1, -1);
     17 }
     18 
     19 int main() {
     20     checkLiterals();
     21     loops();
     22     return 0;
     23 }
     24