https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99678
Bug ID: 99678 Summary: c++20 trailing requires clauses allows undeclared identifier Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- https://godbolt.org/z/reG8qE ==== void bar(auto) requires undeclared_identifier; ==== GCC accepts this code.