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

--- Comment #14 from Kenji Hara <[email protected]> ---
(In reply to Walter Bright from comment #13)
> The module info symbol should only be generated by compiling foo2 from the
> command line. Why is it generated into out.obj?

foo2.d is compiled twice. One generated obj is stored into the lib file, one
another is stored into out.obj.

This is the issue case from the original case.

all1_order_flipped:
    ${dmd} -oflibproj6.a -lib -g project2.d foo2.d foo1.d
    ${dmd} -ofout -g libproj6.a foo2.d main.d

--

Reply via email to