1 2 3 4 5 6 7 8 9 10 11
// PR c++/110084 // { dg-do compile { target c++20 } } template <class T> class BadTuple { constexpr bool operator==(const BadTuple&) const; }; template<class T> constexpr bool BadTuple<T>::operator==(const BadTuple<T>&) const = default; BadTuple<int> a;