https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694

ensadc at mailnesia dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensadc at mailnesia dot com

--- Comment #4 from ensadc at mailnesia dot com ---
Further reduced:

template <typename T, T U> struct A {
  static constexpr T e = U;
  constexpr operator int () { return e; }
};
struct D { template <int> void print (); };

int
main ()
{
  D d;
  [&](auto i) { auto x = [&] { d.print<i>(); }; }(A<int, 0>{});
}

Reply via email to