{ %FAIL } program tb0231; {$mode objfpc} type TTest = class procedure Test; static; end; procedure TTest.Test; begin end; begin end.