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
Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git]
/
memcheck
/
tests
/
freebsd
/
scalar_thr_exit.c
blob
12d50b6559ef1b0bb223d5723ad879e4d6173607
1
#include
"scalar.h"
2
3
int
main
(
void
)
4
{
5
long
*
px
=
malloc
(
sizeof
(
long
));
6
x0
=
px
[
0
];
7
8
/* SYS_thr_exit 2 */
9
GO
(
SYS_thr_exit
,
"1s 1m"
);
10
SY
(
SYS_thr_exit
,
x0
+
1
);
FAIL
;
11
12
return
(
0
);
13
}
14