2 // { dg-do compile { target c++11 } }
7 constexpr X f(X x) { return x; }
11 constexpr X X::g(X x) { return x; }
16 constexpr Y f(Y y) { return y; } // { dg-error "constexpr" "" { target { { ! implicit_constexpr } && c++20_down } } }
17 static constexpr Y g(Y y) { return y; } // { dg-error "constexpr" "" { target { { ! implicit_constexpr } && c++20_down } } }