Test for RT#120846.