https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109961
Bug ID: 109961 Summary: storage size of 'variable name' isn't known Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: Darrell.Wright at gmail dot com Target Milestone: --- The following valid code fails to compile in gcc-trunk on https://foo.godbolt.org/z/vGMGbv8oP auto a = requires{ []( int b ) consteval { if( b ) { throw b; } }( 0 ); }; With the following error <source>:3:6: error: storage size of 'a' isn't known 3 | auto a = requires{ | ^ Compiler returned: 1