]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/test/x3/grammar_linker.cpp
1 /*=============================================================================
2 Copyright (c) 2019 Nikita Kniazev
3 Copyright (c) 2019 Joel de Guzman
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 =============================================================================*/
9 #include <boost/detail/lightweight_test.hpp>
13 char const* s
= "123", * e
= s
+ std::strlen(s
);
15 auto r
= parse(s
, e
, grammar
);
18 auto r
= parse(s
, e
, grammar
, i
);
22 return boost::report_errors();