{ 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.