https://issues.dlang.org/show_bug.cgi?id=18461
--- Comment #2 from Seb <greensunn...@gmail.com> --- I wonder whether this has something to do with DUB (probably not). 1) Can you reproduce the same with just running DMD? (I couldn't on my machine) --- dmd -release -run - <<EOF import core.bitop; void main() { size_t test_val = 0b0001_0000; if(bt(&test_val, 4) != 0) assert(false); } EOF --- 2) Did you check whether it's maybe something with your standard library? A simple check would be to try including core.bitop.bt in your file: https://github.com/dlang/druntime/blob/master/src/core/bitop.d#L270 --