summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/src/tests/unit/this_coro.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/src/tests/unit/this_coro.cpp')
-rw-r--r--3rdparty/asio/src/tests/unit/this_coro.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/3rdparty/asio/src/tests/unit/this_coro.cpp b/3rdparty/asio/src/tests/unit/this_coro.cpp
new file mode 100644
index 00000000000..d1e0fc677c5
--- /dev/null
+++ b/3rdparty/asio/src/tests/unit/this_coro.cpp
@@ -0,0 +1,25 @@
+//
+// this_coro.cpp
+// ~~~~~~~~~~~~~
+//
+// Copyright (c) 2003-2024 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 "asio/this_coro.hpp"
+
+#include "unit_test.hpp"
+
+ASIO_TEST_SUITE
+(
+ "this_coro",
+ ASIO_TEST_CASE(null_test)
+)