https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222
Bug ID: 105222 Summary: gcc rejects valid syntax of ternary operator for lambda in requires clause Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- int main() { auto b = requires { true ? [] {} : [] {}; }; }