// PR c++/90199 // { dg-do compile { target c++14 } } // { dg-additional-options "-frounding-math" } template class complex; template constexpr complex operator+ (complex hd, complex qc) { hd += qc; return hd; } template <> class complex { public: constexpr complex operator+= (complex rm) { jp += rm.jp; return *this; } _Complex float jp; }; constexpr complex fl{3.3}, ka{1.1}, r0 = fl + ka;