allwinner_a64/android/external/valgrind/none/tests/timestamp.c
2018-08-08 16:14:42 +08:00

15 lines
177 B
C

#include <stdlib.h>
#include <unistd.h>
int main(void)
{
int y = 0;
int* x = calloc(1,sizeof(int));
free(x);
y += x[0];
sleep(1);
y += x[0];
return y;
}