test.d:

extern (C):
void foo(){}
alias foo bar;

$dmd -c test.d

$nm test.o
0000000000000000 t
0000000000000000 D _D11test12__ModuleInfoZ
                 w _d_dso_registry
                 U _Dmodule_ref
0000000000000000 T foo


Surely the aliased symbol should appear in the object file, or am I missing something?

Reply via email to