https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115809
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Known to fail| |4.7.4 Ever confirmed|0 |1 Last reconfirmed| |2024-07-06 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- here is the C++11 version to show this is not a regression and has been failing since at least 4.7.4: ``` template <int...> void Foo() {}; template<typename ...T> void Foo2(T... is) { return Foo<is...>(); // works fine }; template<typename ...T> auto Foo3(T... is) -> decltype(Foo<is...>()) {}; ```