diff options
Diffstat (limited to 'src/boost/libs/asio/test/packaged_task.cpp')
-rw-r--r-- | src/boost/libs/asio/test/packaged_task.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/boost/libs/asio/test/packaged_task.cpp b/src/boost/libs/asio/test/packaged_task.cpp new file mode 100644 index 00000000..52e925bb --- /dev/null +++ b/src/boost/libs/asio/test/packaged_task.cpp @@ -0,0 +1,25 @@ +// +// packaged_task.cpp +// ~~~~~~~~~~~~~~~~~ +// +// Copyright (c) 2003-2019 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 header file is self-contained. +#include <boost/asio/packaged_task.hpp> + +#include "unit_test.hpp" + +BOOST_ASIO_TEST_SUITE +( + "packaged_task", + BOOST_ASIO_TEST_CASE(null_test) +) |