fpc/tests/webtbs/tw5023.pp
peter 41a894975d * new tests
git-svn-id: trunk@3266 -
2006-04-18 06:52:47 +00:00

23 lines
297 B
ObjectPascal

unit tw5023;
{$ifdef fpc}{$mode delphi}{$H+}{$endif}
interface
type
TScanLine = array of Integer;
implementation
procedure TestSwap(var A, B: Integer);
begin
// do something
end;
procedure Main(const ALine: TScanLine);
begin
TestSwap(ALine[0], ALine[1]); // <-- error here
end;
end.