summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qcompare/tst_qcompare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/global/qcompare/tst_qcompare.cpp')
-rw-r--r--tests/auto/corelib/global/qcompare/tst_qcompare.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/global/qcompare/tst_qcompare.cpp b/tests/auto/corelib/global/qcompare/tst_qcompare.cpp
index f07b2b8910..f473c1706d 100644
--- a/tests/auto/corelib/global/qcompare/tst_qcompare.cpp
+++ b/tests/auto/corelib/global/qcompare/tst_qcompare.cpp
@@ -144,6 +144,8 @@ void tst_QCompare::legacyConversions()
static_assert(QPartialOrdering::Unordered == NS ::partial_ordering::unordered); \
\
CHECK_CONVERTS(NS ::partial_ordering, QPartialOrdering); \
+ CHECK_CONVERTS(NS ::weak_ordering, QPartialOrdering); \
+ CHECK_CONVERTS(NS ::strong_ordering, QPartialOrdering); \
} while (false)
#ifdef __cpp_lib_three_way_comparison