| 1 | // |
|---|---|
| 2 | // use_awaitable.cpp |
| 3 | // ~~~~~~~~~~~~~~~~~ |
| 4 | // |
| 5 | // Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) |
| 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 | |
| 16 | // Test that header file is self-contained. |
| 17 | #include <boost/asio/use_awaitable.hpp> |
| 18 | |
| 19 | #include "unit_test.hpp" |
| 20 | |
| 21 | BOOST_ASIO_TEST_SUITE |
| 22 | ( |
| 23 | "use_awaitable", |
| 24 | BOOST_ASIO_TEST_CASE(null_test) |
| 25 | ) |
| 26 |
