Files
asio/test/fwd_last.cpp
2026-07-06 23:44:33 +10:00

30 lines
729 B
C++

//
// fwd_last.cpp
// ~~~~~~~~~~~~
//
// Copyright (c) 2003-2026 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Disable autolinking for unit tests.
#if !defined(BOOST_ALL_NO_LIB)
#define BOOST_ALL_NO_LIB 1
#endif // !defined(BOOST_ALL_NO_LIB)
// Test that full declarations are pulled in first.
#include <boost/asio.hpp>
// Test that the forward declaration header doesn't conflict when included
// after the full declarations.
#include <boost/asio/fwd.hpp>
#include "unit_test.hpp"
BOOST_ASIO_TEST_SUITE
(
"fwd_last",
BOOST_ASIO_TEST_CASE(null_test)
)