mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 10:48:30 +02:00
17 lines
173 B
ObjectPascal
17 lines
173 B
ObjectPascal
{ %FAIL }
|
|
|
|
{ OpenString with high should not be allowed }
|
|
program tb0144;
|
|
|
|
procedure TestOpen(var s: OpenString); cdecl;
|
|
var
|
|
b: byte;
|
|
begin
|
|
b:=high(s);
|
|
end;
|
|
|
|
|
|
|
|
Begin
|
|
end.
|