blob: 124b982e9164ebe8a34b1f1b9d0cb055a4fb9512 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ 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.
|