mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 07:19:27 +02:00
29 lines
412 B
ObjectPascal
29 lines
412 B
ObjectPascal
{ Source provided for Free Pascal Bug Report 3470 }
|
|
{ Submitted by "Danny Milosavljevic" on 2004-12-25 }
|
|
{ e-mail: danny_milo@yahoo.com }
|
|
|
|
{$mode objfpc}
|
|
program a;
|
|
uses variants;
|
|
|
|
type
|
|
IBla = interface
|
|
end;
|
|
|
|
TBla = class(TInterfacedObject, IBla)
|
|
public
|
|
constructor Create;
|
|
end;
|
|
|
|
constructor TBla.Create;
|
|
begin
|
|
end;
|
|
|
|
var
|
|
v: Variant;
|
|
bla: IBla;
|
|
begin
|
|
bla := TBla.Create;
|
|
v := bla;
|
|
end.
|