fpc/tests/webtbs/tw28641.pp
Jonas Maebe 0b4f3f01b3 * fixed another case of endless recursion in
tabstractrecordsymtable.has_single_field(), due to always looking in the
    symlist of the original record rather than properly recursing into those
    of nested ones (mantis #28641)

git-svn-id: trunk@32618 -
2015-12-08 15:35:19 +00:00

28 lines
433 B
ObjectPascal

{ %norun }
{$mode delphi}
program Test;
type
TMD5DigestHelper = record
public type
TMD5Buffer = array[0..63] of Byte;
TMD5Context = record
Buffer: TMD5Buffer;
end;
private
function Func_F(const X, Y, Z: LongWord): LongWord;
public
Context: TMD5Context;
end;
function TMD5DigestHelper.Func_F(const X, Y, Z: LongWord): LongWord;
begin
Result := (X and Y) or ((not X) and Z);
end;
begin
end.