[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:

I believe the restriction for class is ::


   function static void display_function();