mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 14:23:25 +02:00
25 lines
301 B
ObjectPascal
25 lines
301 B
ObjectPascal
{ %FAIL }
|
|
{ %OPT=-Sew }
|
|
|
|
{ Note: we are speculating for "Unreachable code" warnings here }
|
|
|
|
program tb0701;
|
|
|
|
{$mode objfpc}
|
|
|
|
type
|
|
TTest = class
|
|
f: LongInt;
|
|
procedure Test;
|
|
end;
|
|
|
|
procedure TTest.Test;
|
|
begin
|
|
if TypeInfo(f) <> TypeInfo(LongInt) then
|
|
Writeln('False');
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|