lightweight_test_lt_fail.cpp 376 B

1234567891011121314151617181920
  1. //
  2. // Negative test for BOOST_TEST_LT
  3. //
  4. // Copyright 2014, 2017 Peter Dimov
  5. //
  6. // Distributed under the Boost Software License, Version 1.0.
  7. // See accompanying file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt
  9. //
  10. #include <boost/core/lightweight_test.hpp>
  11. int main()
  12. {
  13. int x = 0;
  14. BOOST_TEST_LT( x, 0 );
  15. return boost::report_errors();
  16. }