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
/
shortpush.c
blob
e91a26820ba9d548b9c81c281415e3b28050f7c3
1
2
typedef
unsigned short
UShort
;
3
4
UShort
mul16
(
UShort a
,
UShort b
);
5
6
int
main
(
int
argc
,
char
**
argv
)
7
{
8
UShort x
=
mul16
(
10
,
20
);
9
return
((
int
)
x
) -
200
;
10
}
11
12
UShort
mul16
(
UShort a
,
UShort b
)
13
{
14
return
a
*
b
;
15
}