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