fpc/tests/webtbf/tw37426.pp

26 lines
212 B
ObjectPascal

{ %FAIL }
{$mode objfpc}
uses
SysUtils, Classes;
type
{ TFoo }
TFoo = class
procedure Bar;
end;
var
AByte: Byte;
{ TFoo }
procedure TFoo.Bar;
begin
AByte := Byte.SetBit(1);
end;
begin
end.