fpc/tests/tbs/tb0166.pp
2000-11-30 22:38:14 +00:00

18 lines
435 B
ObjectPascal

{ Old file: tbs0198.pp }
{ calling specifications aren't allowed in class declarations, this should be allowed OK 0.99.11 (PM) }
{$mode objfpc}
type
to1 = class
function GetCaps1 : Longint;virtual;abstract;
function GetCaps2 : Longint;virtual;stdcall;
function GetCaps : Longint;virtual;stdcall;abstract;
end;
function to1.GetCaps2 : Longint;stdcall;
begin
end;
begin
end.