fpc/tests/webtbs/uw27522a.pp
Jonas Maebe a3afefc6cb + test for mantis #27522 (fixed in r29811)
git-svn-id: trunk@34601 -
2016-10-02 21:51:31 +00:00

36 lines
628 B
ObjectPascal

{$MODE OBJFPC} { -*- delphi -*- }
{$CODEPAGE UTF8}
unit uw27522a;
interface
uses
uw27522c;
type
Test1Record = record
case Integer of
0: (Integer1, Integer2, Integer3: Integer);
1: (AsString: ShortString);
end;
operator + (const Op1: UTF8String; const Op2: Test1Record): UTF8String;
implementation
uses uw27522b, sysutils;
operator + (const Op1: UTF8String; const Op2: Test1Record): UTF8String;
begin
Result := '';
end;
function Test1A(const Value: TTest3): Test1Record;
begin
end;
function Test1B(const Value: TTest3): Integer;
begin
Writeln('' + IntToStr(Value.Value));
end;
end.