fix runnable test

Blocker for https://github.com/D-Programming-Language/phobos/pull/2727
Main file: [test24.d](https://github.com/D-Programming-Language/dmd/blob/master/test/runnable/test24.d)