PR17730: Add test that we don't crash on this testcase. (The bug is already fixed.)