https://issues.dlang.org/show_bug.cgi?id=21864 --- Comment #1 from Walter Bright <bugzilla at digitalmars.com> --- If it is compiled like so: dmd -g -c test20460b dmd -g test20460a test20460b.o it produces the correct output when run. --