https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80273
Bug ID: 80273 Summary: cv-qualified auto with trailing return type incorrectly accepted Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rs2740 at gmail dot com Target Milestone: --- GCC incorrectly accepts auto const meow() -> int; [dcl.fct]/2 says only plain 'auto' is allowed. Possibly related to bug 67012.