regression test for #7740.