]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/test/x3/not_predicate.cpp
1 /*=============================================================================
2 Copyright (c) 2001-2015 Joel de Guzman
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 =============================================================================*/
7 #include <boost/detail/lightweight_test.hpp>
8 #include <boost/spirit/home/x3.hpp>
16 using spirit_test::test
;
17 using boost::spirit::x3::int_
;
20 BOOST_TEST((!test("1234", !int_
)));
21 BOOST_TEST((test("abcd", !int_
, false)));
22 BOOST_TEST((!test("abcd", !!int_
, false)));
25 return boost::report_errors();