kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

o2_loop_postinc_store.c (265B)


      1 int test_main(void) {
      2   int m[4];
      3   int i;
      4   int count = 1;
      5 
      6   for (i = 0; i < 4; i++) {
      7     m[i] = count++;
      8   }
      9 
     10   if (m[0] != 1) return 1;
     11   if (m[1] != 2) return 2;
     12   if (m[2] != 3) return 3;
     13   if (m[3] != 4) return 4;
     14   if (count != 5) return 5;
     15   return 42;
     16 }