mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 06:29:32 +02:00
17 lines
301 B
ObjectPascal
17 lines
301 B
ObjectPascal
{ %opt=-Sc }
|
|
{$mode objfpc}
|
|
{$modeswitch arrayoperators}
|
|
|
|
program test;
|
|
|
|
var
|
|
a: array of integer;
|
|
begin
|
|
a := nil;
|
|
a += []; // error: Internal error 200305091
|
|
a := a+[]; // error: Internal error 200305091
|
|
a := []+a; // error: Internal error 200305091
|
|
if length(a)<>0 then
|
|
halt(1);
|
|
end.
|