https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67397
Halalaluyafail3 <luigighiron at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luigighiron at gmail dot com
--- Comment #3 from Halalaluyafail3 <luigighiron at gmail dot com> ---
This looks very similar to CWG778. See also
https://github.com/llvm/llvm-project/issues/214757, GCC also incorrectly
accepts:
template<typename...T,T...>void foo(){}
int main(){
foo();
}
Though I think this is also ill-formed because there is no way to deduce the
second pack, GCC does not appear to enforce that either.