Add test case for issue 11063.

To prevent regression; the bug already doesn't happen in git HEAD.