phobos's circle CI runs a busted version of DMD
kdevel
kdevel at vogtner.de
Thu Jan 12 13:05:45 UTC 2023
On Thursday, 12 January 2023 at 08:55:50 UTC, deadalnix wrote:
> [...] I expect this bug to be marked as fixed because it is
> indeed fixed, [...]
```
$ dmd --version
DMD64 D Compiler v2.101.1
Copyright (C) 1999-2022 by The D Language Foundation, All Rights
Reserved written by Walter Bright
$ cat bug23618.d
unittest {
ubyte ub;
ub = 0x80;
ub >>= 1u;
assert (ub == 0x40);
ushort us;
us = 0x8000;
us >>= 1u;
assert (us == 0x4000);
}
$ dmd -O -checkaction=context -unittest -main -run bug23618.d
1 modules passed unittests
$ dmd -checkaction=context -unittest -main -run bug23618.d
bug23618.d(5): [unittest] 192 != 64
1/1 modules FAILED unittests
```
More information about the Digitalmars-d
mailing list