+ test for mantis #19622, fixed by sergei in r28266

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28861 3ad0048d-3df7-0310-abae-a5850022a9f2