mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:18:12 +02:00
19 lines
242 B
ObjectPascal
19 lines
242 B
ObjectPascal
{ %fail }
|
|
|
|
{$mode delphi}
|
|
|
|
program Project1;
|
|
{$APPTYPE CONSOLE}
|
|
|
|
function SumX(const Arr: array of SizeInt): Integer;
|
|
begin
|
|
Result := Arr[Low(Arr)];
|
|
end;
|
|
|
|
var
|
|
P: Pointer;
|
|
begin
|
|
P := nil;
|
|
Writeln(SumX(TBoundArray(nil))); // Case 2
|
|
end.
|