File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/std/language.support/cmp/cmp.categories.pre Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ enum class _LIBCPP_ENUM_VIS _NCmpResult : signed char {
156
156
157
157
struct _CmpUnspecifiedParam {
158
158
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEVAL
159
- _CmpUnspecifiedParam (int _CmpUnspecifiedParam::*) {}
159
+ _CmpUnspecifiedParam (int _CmpUnspecifiedParam::*) noexcept {}
160
160
161
161
template <typename _Tp, typename = _VSTD::enable_if_t <!_VSTD::is_same_v<_Tp, int >>>
162
162
_CmpUnspecifiedParam (_Tp) = delete ;
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ void test_category(T v) {
46
46
void (0 > v);
47
47
void (v >= 0 );
48
48
void (0 >= v);
49
- #ifndef _LIBCPP_HAS_NO_THREE_WAY_COMPARISON
50
- void (v <=> 0 ); // expected-error 3 {{}}
51
- void (0 <=> v); // expected-error 3 {{}}
49
+ #ifndef _LIBCPP_HAS_NO_SPACESHIP_OPERATOR
50
+ void (v <=> 0 );
51
+ void (0 <=> v);
52
52
#endif
53
53
}
54
54
You can’t perform that action at this time.
0 commit comments