add test case for Issue 9449

https://issues.dlang.org/show_bug.cgi?id=9449

Could not repro the error, so I added the test case just to be sure.