Add regression test for bug 7068.

https://issues.dlang.org/show_bug.cgi?id=7068

This bug was closed without adding a test, adding the test now so that the work-around can be removed from druntime (https://github.com/D-Programming-Language/druntime/pull/875 .)