[REG2.062] Issue 10425 - Link error with templates

http://d.puremagic.com/issues/show_bug.cgi?id=10425

The regression was introduced by the implementing [issue 7511](http://d.puremagic.com/issues/show_bug.cgi?id=7511). Read the explanation comment in `runnable/link10425.d`.