mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 15:31:19 +02:00
* new bug
This commit is contained in:
parent
1260eed8fd
commit
6e1bc75531
23
tests/webtbs/tw2830.pp
Normal file
23
tests/webtbs/tw2830.pp
Normal file
@ -0,0 +1,23 @@
|
||||
{ Source provided for Free Pascal Bug Report 2830 }
|
||||
{ Submitted by "marco (the gory bugs department)" on 2003-12-04 }
|
||||
{ e-mail: }
|
||||
{$ifdef fpc}{$mode Delphi}{$endif}
|
||||
|
||||
Uses SysUtils;
|
||||
|
||||
Type
|
||||
TFloat=double;
|
||||
TCompiledExpression = function: TFloat of object;
|
||||
|
||||
procedure bla;
|
||||
var
|
||||
Ce: TCompiledExpression;
|
||||
begin
|
||||
if (TMethod(Ce).Code = TMethod(Ce).Code) and
|
||||
(TMethod(Ce).Data = TMethod(Ce).Data) then
|
||||
;
|
||||
end;
|
||||
|
||||
begin
|
||||
bla;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user