Issue 12097 - Ddoc unittest should generate consistent result with 'ditto' declarations

https://d.puremagic.com/issues/show_bug.cgi?id=12097