char_strings_test_fail.cpp 662 B

12345678910111213141516171819
  1. /*=============================================================================
  2. Copyright (c) 2004 Joao Abecasis
  3. http://spirit.sourceforge.net/
  4. Use, modification and distribution is subject to the Boost Software
  5. License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. http://www.boost.org/LICENSE_1_0.txt)
  7. =============================================================================*/
  8. #include <boost/spirit/include/classic_primitives.hpp>
  9. #include <boost/spirit/include/classic_rule.hpp>
  10. int main()
  11. {
  12. using BOOST_SPIRIT_CLASSIC_NS::rule;
  13. using BOOST_SPIRIT_CLASSIC_NS::ch_p;
  14. rule<> chars = ch_p("string");
  15. }