We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4fdf1d commit 38c8d98Copy full SHA for 38c8d98
tests/beman/execution26/exec-sync-wait.test.cpp
@@ -223,6 +223,15 @@ auto test_sync_wait() -> void {
223
// NOLINTEND(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
224
}
225
226
+
227
+auto test_provides_scheduler() -> void {
228
+ ASSERT(test_std::sync_wait(test_std::then(test_std::read_env(test_std::get_scheduler()), [](auto&&) noexcept {})));
229
+}
230
231
+auto test_provides_delegation_scheduler() -> void {
232
+ ASSERT(test_std::sync_wait(
233
+ test_std::then(test_std::read_env(test_std::get_delegation_scheduler()), [](auto&&) noexcept {})));
234
235
} // namespace
236
237
TEST(exec_sync_wait) {
0 commit comments