Home | History | Annotate | Download | only in tests
      1 #include <stdlib.h>
      2 #include <unistd.h>
      3 
      4 int main(void)
      5 {
      6    int y = 0;
      7    int* x = calloc(1,sizeof(int));
      8    free(x);
      9 
     10    y += x[0];
     11    sleep(1);
     12    y += x[0];
     13 
     14    return y;
     15 }
     16