mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 19:39:31 +02:00
compiler: allow inline static methods + test (moreover static inline was supported)
git-svn-id: trunk@15076 -
This commit is contained in:
parent
a48a37d38b
commit
1be92bc750
@ -2115,7 +2115,7 @@ const
|
||||
pooption : [po_staticmethod];
|
||||
mutexclpocall : [pocall_internproc];
|
||||
mutexclpotype : [potype_constructor,potype_destructor];
|
||||
mutexclpo : [po_external,po_interrupt,po_exports,po_inline]
|
||||
mutexclpo : [po_external,po_interrupt,po_exports]
|
||||
),(
|
||||
idtok:_STDCALL;
|
||||
pd_flags : [pd_interface,pd_implemen,pd_body,pd_procvar];
|
||||
|
@ -11,7 +11,7 @@ type
|
||||
FSomethingStatic: Integer;
|
||||
public
|
||||
class procedure SomeClassMethod(A: Integer);
|
||||
class procedure SomeStaticMethod(A: Integer); static;
|
||||
class procedure SomeStaticMethod(A: Integer); inline; static;
|
||||
end;
|
||||
|
||||
{ TSomeClass }
|
||||
|
Loading…
Reference in New Issue
Block a user