]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/core/test/lightweight_test_fail.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / core / test / lightweight_test_fail.cpp
1 //
2 // Negative test for BOOST_TEST
3 //
4 // Copyright (c) 2014 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
11 #include <boost/detail/lightweight_test.hpp>
12
13 int main()
14 {
15 int x = 0;
16
17 BOOST_TEST( x == 1 ); // will fail
18
19 return boost::report_errors();
20 }