]>
git.proxmox.com Git - ceph.git/blob - 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)
6 // See http://www.boost.org/libs/test for the library home page.
8 #define BOOST_TEST_MODULE nullptr_support
9 #include <boost/test/unit_test.hpp>
11 BOOST_AUTO_TEST_CASE(test1
)
14 BOOST_TEST(p
== nullptr);
17 BOOST_AUTO_TEST_CASE(test2
)
20 BOOST_CHECK_EQUAL(p
, nullptr);