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 06fc125 commit 6a8ed4aCopy full SHA for 6a8ed4a
libcxx/test/libcxx/experimental/language.support/support.coroutines/dialect_support.pass.cpp
@@ -16,6 +16,8 @@
16
17
#include <experimental/coroutine>
18
19
+#include "test_macros.h"
20
+
21
namespace coro = std::experimental::coroutines_v1;
22
23
coro::suspend_always sa;
@@ -25,7 +27,7 @@ struct MyFuture {
25
27
struct promise_type {
26
28
typedef coro::coroutine_handle<promise_type> HandleT;
29
coro::suspend_never initial_suspend() { return sn; }
- coro::suspend_always final_suspend() noexcept { return sa; }
30
+ coro::suspend_always final_suspend() TEST_NOEXCEPT { return sa; }
31
coro::suspend_never yield_value(int) { return sn; }
32
MyFuture get_return_object() {
33
MyFuture f(HandleT::from_promise(*this));
0 commit comments