I've check it before posting using old version dmd 2.073 and it works. What dmd version you compile with?