type TStatic = static class end; procedure P(); where T: TStatic; begin end; begin end.