[Bug c++/124490] wrong "use of before deduction" with expansion statements
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 20 10:26:33 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124490
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Testcase without reflection in it:
void
foo ()
{
template for (constexpr auto d : { 42 })
auto e = [d] { return d; };
}
More information about the Gcc-bugs
mailing list