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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Trunk prints a location, but it's the wrong one again:

ign.cc:3:25: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
    operator int const() const; // { dg-error "type qualifiers ignored" }
                         ^~~~~

So this is a regression for gcc-7 and an ordinary bug for gcc-8.

Reply via email to