program fjf554d;

type
  x = set of Byte;

var
  Called: Boolean = False;

function foo: x;
begin
  Called := True;
  foo := []
end;

begin
  if (foo = []) and Called then WriteLn ('OK') else WriteLn ('failed')
end.
