[SV LRM 2017] It shall be illegal to declare class method as static lifetime,but code is compiled and simulated successfully?

In reply to juhi_p:

Not sure how to interpret the statement in the LRM. But your code is legal in my opinion.

In fact in Section 8.10 of the LRM you will see an example of a class declaration with static function.