Regression test absolute.c.in has this code (with {mem} replaced by __xdata):
typedef void (* const Function)(void);
__xdata Function __at(ADDRESS(AC)) f = NULL;
And incorrectly complains:
cases/absolute/absolute_mem___xdata.c:41: warning 361: qualifier on return type has no effect
The memory declarator places the variable f in xdata (at the specifed address) and should not modify the return type. The generated code is correct, the warning is not.