Test for
bug 7808
. Should not fail with an assertion.