]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/variant2/test/variant_lt_gt.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / variant2 / test / variant_lt_gt.cpp
index 688209f8c53f16ca0c50a932172a64095e26e536..f2a931fb0d74f92c99538974e08d219288f61f8f 100644 (file)
@@ -81,5 +81,14 @@ int main()
         BOOST_TEST_NOT( v1 >= v2 );
     }
 
+    {
+        variant<monostate> v1, v2;
+
+        BOOST_TEST_NOT( v1 < v2 );
+        BOOST_TEST_NOT( v1 > v2 );
+        BOOST_TEST( v1 <= v2 );
+        BOOST_TEST( v1 >= v2 );
+    }
+
     return boost::report_errors();
 }