Testcase for r174477.