+ add test for already fixed

This commit is contained in:
Sven/Sarah Barth 2022-01-09 12:29:08 +01:00
parent 67a1d52806
commit b5e57a63f5

29
tests/webtbf/tw22252.pp Normal file
View File

@ -0,0 +1,29 @@
{ %FAIL }
unit tw22252;
{$mode objfpc}{$H+}
interface
{uses
Classes, SysUtils;}
type
TFoo = class
strict private
class var FProp: Integer;
end;
implementation
procedure Test;
var
f: TFoo;
begin
f := TFoo.Create;
f.FProp := 10;
f.Free;
end;
end.