mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 15:28:08 +02:00

are used for parameter passing as it is might happen on avr, resolves #36079 git-svn-id: trunk@43390 -
18 lines
228 B
ObjectPascal
18 lines
228 B
ObjectPascal
{ %OPT=-O- -O1 }
|
|
program tshlshr;
|
|
|
|
procedure test(value, required: int64);
|
|
begin
|
|
if value <> required then
|
|
halt(1)
|
|
else
|
|
halt(0);
|
|
end;
|
|
|
|
var
|
|
longres : longint;
|
|
|
|
begin
|
|
longres := 32768;
|
|
test(longres, 32768);
|
|
end. |