[Issue 19320] Unittest error: Variable used before set in std/array.d
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 19 13:56:49 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19320
Eduard Staniloiu <edi33416 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |edi33416 at gmail.com
--- Comment #1 from Eduard Staniloiu <edi33416 at gmail.com> ---
Attempting to provide more context to this
Running `make -f posix.mak std/array.test`
will run
```
../dmd/generated/linux/release/64/dmd -od$T -conf= -I../druntime/import -w
-de -dip25 -m64 -fPIC -transition=complex -O -release -dip1000 -main -unittest
generated/linux/release/64/libphobos2.a -defaultlib= -debuglib= -L-ldl -cov
-run std/array.d
```
Where $T should expand to a path similar to `/tmp/.dmd-run-test.XXXXXX`
If you remove the `-cov` flag, the tests will build without any problem.
This issue is related with the Code coverage instrumentation
--
More information about the Digitalmars-d-bugs
mailing list