mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
* cdecl methods are required for CLX compatibilit
This commit is contained in:
parent
0284016ee9
commit
86c4522697
@ -1,17 +0,0 @@
|
||||
{ %FAIL }
|
||||
|
||||
{$mode objfpc}
|
||||
type
|
||||
tmyclass = class
|
||||
{ you should not be able to have virtual methods which
|
||||
are noted as cdecl.
|
||||
}
|
||||
procedure myroutine;virtual;cdecl;
|
||||
end;
|
||||
|
||||
procedure tmyclass.myroutine;cdecl;
|
||||
begin
|
||||
end;
|
||||
|
||||
Begin
|
||||
end.
|
Loading…
Reference in New Issue
Block a user