Add a test case for PR14750.

This was fixed by r174402.