repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FreeBSD: add file descriptor tracking for _umtx_op
[valgrind.git]
/
none
/
tests
/
timestamp.c
blob
ca0faba2e28f5ff074d6103b24c3b9235b5791e0
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
}