mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 21:07:58 +02:00
32 lines
298 B
ObjectPascal
32 lines
298 B
ObjectPascal
{ %FAIL }
|
||
|
||
program tw40381b;
|
||
|
||
{$mode objfpc}
|
||
{$warn 5043 error}
|
||
|
||
type
|
||
TFoo = 1..9 deprecated;
|
||
|
||
TBar = class
|
||
//F1: TFoo;
|
||
//procedure M1(x:TFoo);
|
||
end;
|
||
|
||
{var
|
||
a: TFoo;}
|
||
|
||
procedure b(x:TFoo);
|
||
begin
|
||
writeln(x);
|
||
end;
|
||
|
||
{procedure TBar.M1(x: TFoo);
|
||
begin
|
||
writeln(x);
|
||
end;}
|
||
|
||
begin
|
||
end.
|
||
|