https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109790
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> --- Here's a non-lambda version that ICEs in the same spot: struct A { template<class T> void operator+(T); }; template<class T> decltype(&A::operator+<T>) f(); int main() { f<int>(); }