That is a first that somebody wanted it. Bug report please!
I just ran across this with deprecated { void foo(); } void main() { pragma(msg, __traits(getAttributes, foo)); }producing just tuple(). I came across this when looping through the members of a module and wanting to skip the deprecated ones.
I did a quick look in Bugzilla and didn't find anything. Do you know if anyone filed anything I may have missed?