Nicholas Nethercote aa4962d995 In r10465 --time-stamp=yes got slightly broken -- the space between the time
and the PID was removed.  This commit adds it back in.  It also adds a basic
test that would have detected this regression, and also the breakage in bug
200990.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10573
2009-07-24 05:16:31 +00:00

16 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;
}