[REG2.066a] Issue 13008 - 'deprecated' is not allowed to refer another deprecated when it is a function declaration

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