compiler: allow inline static methods + test (moreover static inline was supported)

git-svn-id: trunk@15076 -
This commit is contained in:
paul 2010-03-27 13:40:36 +00:00
parent a48a37d38b
commit 1be92bc750
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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 }