https://issues.dlang.org/show_bug.cgi?id=18015

--- Comment #3 from Ludovit Lucenic <[email protected]> ---
Created attachment 1667
  --> https://issues.dlang.org/attachment.cgi?id=1667&action=edit
Test case for #18015

I managed to eliminate the minimum code and it is surprising how small it is.
To reproduce the corrupt output of DMD starting 2.075 run following commands:

> dub fetch vibe.d --version=0.7.32
> dmd -lib -debug -g -w -I~/.dub/packages/vibe-d-0.7.32/vibe-d/source 
> configuration.d -vcolumns

To check the result of compilation I used:

> [[ $(nm configuration.a 2>&1 > /dev/null | grep "not recognized" | wc -l) -gt 
> 0 ]] && echo "Compilation FAILS" || echo "Compilation OK"

Or, just using nm on the generated static library outputs to stderr that's
something wrong. Running the test on 2.077 fails, on 2.074.1 succeeds.

--

Reply via email to