mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 10:38:14 +02:00
32 lines
295 B
ObjectPascal
32 lines
295 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tw40381a;
|
|
|
|
{$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.
|
|
|