]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/test/writing-test-ts/nullptr-support-test.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / test / test / writing-test-ts / nullptr-support-test.cpp
1 // (C) Copyright Raffi Enficiaud 2017.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5
6 // See http://www.boost.org/libs/test for the library home page.
7
8 #define BOOST_TEST_MODULE nullptr_support
9 #include <boost/test/unit_test.hpp>
10
11 BOOST_AUTO_TEST_CASE(test1)
12 {
13 int *p = nullptr;
14 BOOST_TEST(p == nullptr);
15 }
16
17 BOOST_AUTO_TEST_CASE(test2)
18 {
19 int *p = nullptr;
20 BOOST_CHECK_EQUAL(p, nullptr);
21 }