fix Issue 13008 - 'deprecated' is not allowed to refer another deprecated when it is a function declaration