[Bug c++/96908] [c++20] substitution failure if lambda in default template param

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96908

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Andrew Pinski  ---
Dup of bug 97610.

*** This bug has been marked as a duplicate of bug 97610 ***

[Bug c++/96908] [c++20] substitution failure if lambda in default template param

2021-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96908

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed|2021-08-04 00:00:00 |

--- Comment #1 from Andrew Pinski  ---
GCC, ICC and MSVC all reject this code the same way.
Only clang accepts this.