makes sure that return expression got T() [#72633064]