mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
16 lines
226 B
C
16 lines
226 B
C
|
|
typedef unsigned short UShort;
|
|
|
|
UShort mul16 ( UShort a, UShort b );
|
|
|
|
int main ( int argc, char** argv )
|
|
{
|
|
UShort x = mul16 ( 10, 20 );
|
|
return ((int)x) - 200;
|
|
}
|
|
|
|
UShort mul16 ( UShort a, UShort b )
|
|
{
|
|
return a * b;
|
|
}
|