https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114695
--- Comment #4 from Vincent Piquet ---
Note that MSVC latest now also fails this last sample regardless of the
language version (but the error differs from C++17 to C++20). Clang (>= 5.0.0)
still happily accepts it, on both versions.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114695
--- Comment #3 from Vincent Piquet ---
Interesting. Now I think the issue may actually be caused by pack expansion on
the call site. The issue also happens when Foo only has one base class, albeit
with a different error that at least has concise
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114695
Bug ID: 114695
Summary: Template argument deduction and defaulted template
template parameters
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: norma