https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226
--- Comment #17 from Vittorio Romeo <vittorio.romeo at outlook dot com> --- Was the patch merged in trunk? The following still fails to compile on 20180407 template <int... Is> int foo() { ([i = Is]{}(), ...); return 0; }