Also added testcase. https://github.com/D-Programming-GDC/GDC/commit/1a75aa6e2280272735237bf640931cdc26fe8350