2 // P2448 - Relaxing some constexpr restrictions
3 // { dg-do compile { target c++20 } }
8 constexpr Wrapper() = default;
9 constexpr Wrapper(Wrapper const&) = default;
10 constexpr Wrapper(T const& t) : t(t) { }
12 constexpr T get() const { return t; }
13 constexpr bool operator==(Wrapper const&) const = default; // { dg-warning "call to" "" { target c++20_down } }
20 bool operator==(X const&) const;