mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 19:27:16 +01:00
24 lines
286 B
ObjectPascal
24 lines
286 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.
|
|
|
|
{
|
|
$Log$
|
|
Revision 1.1 2002-11-26 19:24:30 carl
|
|
* some small fixes
|
|
+ added several new tests
|
|
|
|
} |