This is a regression test for
bug 4298
. Without the bug fix it causes a crash.