]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/asio/test/ts/netfwd.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / asio / test / ts / netfwd.cpp
CommitLineData
7c673cae 1//
b32b8144
FG
2// netfwd.cpp
3// ~~~~~~~~~~
7c673cae 4//
b32b8144 5// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7c673cae
FG
6//
7// Distributed under the Boost Software License, Version 1.0. (See accompanying
8// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9//
10
11// Disable autolinking for unit tests.
12#if !defined(BOOST_ALL_NO_LIB)
13#define BOOST_ALL_NO_LIB 1
14#endif // !defined(BOOST_ALL_NO_LIB)
15
b32b8144
FG
16// Prevent link dependency on the Boost.System library.
17#if !defined(BOOST_SYSTEM_NO_DEPRECATED)
18#define BOOST_SYSTEM_NO_DEPRECATED
19#endif // !defined(BOOST_SYSTEM_NO_DEPRECATED)
20
7c673cae 21// Test that header file is self-contained.
b32b8144
FG
22#include <boost/asio/ts/netfwd.hpp>
23
24// Test that forward declarations don't conflict with full declarations.
25#include <boost/asio/ts/net.hpp>
7c673cae
FG
26
27#include "../unit_test.hpp"
28
29BOOST_ASIO_TEST_SUITE
30(
b32b8144 31 "ts/netfwd",
7c673cae
FG
32 BOOST_ASIO_TEST_CASE(null_test)
33)