https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93279
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r9-6405-gbddee796d0b4800b5ac3d7e7e9e315c23799424d Reduced testcase: template <int T> struct A { static constexpr int t = T; }; template <bool, typename> struct B; template <typename T> struct B<true, T> { typedef T f; }; template <bool N, typename T> using C = typename B<N, T>::f; template <typename> constexpr bool D = A<1>::t; template <typename T, int N> struct E { template <typename U, C<D<E>, decltype(nullptr)> = nullptr> void operator * (U l) { [l](T m) { m *l; }; } }; int main () { E<E<float, 4>, 1> n; n * 4.f; }