Thanks Chong (and Stefan)!!
I've checked in a fix to make `macro-declaration-function' complain on such problematic declarations.