https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123408
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=123700
CC| |mpolacek at gcc dot gnu.org
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
GCC 13:
123408.C: In instantiation of ‘constexpr const int outer<int>’:
123408.C:13:12: required from here
123408.C:9:42: error: void value not ignored as it ought to be
9 | [](auto) { return zero<inner<Arg>>; }(0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Not sure if a dup of bug 123700.