test78
auto test78 =
q{--- test78
// Bug: division by small constant generated BYTE idiv, instead of DWORD
i64 test_div(i64 i, u8[] res) {
res[0] = cast(u8)(i % 10);
i /= 10;
res[1] = cast(u8)(i % 10);
return i;
}
};
tests passing
functionsvariables