]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/x3/plus.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / test / x3 / plus.cpp
index dcac65cd5c486c35c3fdcbbf15e88b91e65a65ad..7e27c84bcf4eb47669d4d8000cd5b4756b957356 100644 (file)
@@ -14,6 +14,7 @@
 #include <string>
 #include <iostream>
 #include "test.hpp"
+#include "utils.hpp"
 
 struct x_attr
 {
@@ -129,5 +130,11 @@ main()
         BOOST_TEST(boost::fusion::at_c<0>(fs) == "12345");
     }
 
+    { // test move only types
+        std::vector<move_only> v;
+        BOOST_TEST(test_attr("sss", +synth_move_only, v));
+        BOOST_TEST_EQ(v.size(), 3);
+    }
+
     return boost::report_errors();
 }