]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/x3/seek.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / spirit / test / x3 / seek.cpp
index 23925b427f22924c607917552723965f5f499efd..cc416e04939477c72ba8af15fc87806d93f7b864 100644 (file)
@@ -7,7 +7,6 @@
 //////////////////////////////////////////////////////////////////////////////*/
 #include <vector>
 
-#include <boost/detail/lightweight_test.hpp>
 #include <boost/spirit/home/x3/auxiliary/eoi.hpp>
 #include <boost/spirit/home/x3/core.hpp>
 #include <boost/spirit/home/x3/char.hpp>
@@ -93,5 +92,8 @@ int main()
         BOOST_TEST(test_failure("abcdefg", x3::seek[x3::int_]));
     }
 
+    // past the end regression GH#658
+    BOOST_TEST(!test(" ", x3::seek['x'], x3::space));
+
     return boost::report_errors();
 }