test case for commit 87a8f70148 related to PR 12943 (cherry picked from commit 2032aaf341)
87a8f70148
2032aaf341
fprintf' ->