https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88958

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
This is code that the front-end implementation accepts as valid code, but it
should be an error.  Referencing f on is own does not automatically take the
address of it, e.g:

auto a = f;    // f(int) is not callable using argument types ().
auto b = *&f;  // b cannot be declared to be a function.

Reply via email to