https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77927
--- Comment #1 from Jeff Mirwaisi <jeff.mirwaisi at gmail dot com> --- //unary right fold fails to compile template<int...N> void f(){int A[]={(((void)N,int()),...)};} //corresponding left fold works as expected template<int...N> void f(){int A[]={(...,((void)N,int()))};} //both are simple tests that generate a single element array int A[1]={0}