[Bug c++/93279] [9/10 Regression] C++ Template substitution ICE
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 23 16:12:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93279
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Further reduced:
template <typename T> struct B { using f = int; };
template <typename T, int N> struct E {
template <typename U, typename B<E>::f = 0>
void operator*(U l) { [l](T m) { m * l; }; }
};
int
main ()
{
E<E<float, 4>, 1> n;
n * 4.f;
}
More information about the Gcc-bugs
mailing list