The following line does not compile
const(const(int*) f()){}
It fails with the messages ...
: unexpected identifer 'f' in declarator
: no identifier for declarator const(int*)()
Comment #1 by bugzilla — 2008-03-08T01:27:33Z
The correct way to declare f would be:
const const(int*) f(){}
or:
const(int*) f() const {}