fpc/tests/webtbs/tw40381b.pp

32 lines
298 B
ObjectPascal
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ %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.