fix Issue 8081 - pure nothrow unittest problem in generated 'header' file