https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70344
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> --- fn does not have to be a function template to trigger the ICE: struct Z { Z () = default; Z (Z const &) = default; constexpr Z (Z &&) {} }; constexpr int fn (Z v) { return fn (v); } auto t = fn (Z ());