diff --git a/clang/test/CodeGenCoroutines/coro-ret-void.cpp b/clang/test/CodeGenCoroutines/coro-ret-void.cpp index 7bc1bcd958b7..ae139afabc4d 100644 --- a/clang/test/CodeGenCoroutines/coro-ret-void.cpp +++ b/clang/test/CodeGenCoroutines/coro-ret-void.cpp @@ -8,6 +8,7 @@ struct coro1 { std::suspend_never initial_suspend(); std::suspend_never final_suspend() noexcept; void return_void(); + void unhandled_exception() noexcept; }; }; @@ -39,6 +40,7 @@ struct coro2 { std::suspend_never initial_suspend(); std::suspend_never final_suspend() noexcept; void return_value(int); + void unhandled_exception() noexcept; }; }; diff --git a/clang/test/CoverageMapping/coroutine.cpp b/clang/test/CoverageMapping/coroutine.cpp index c9de301f8175..da38acc442be 100644 --- a/clang/test/CoverageMapping/coroutine.cpp +++ b/clang/test/CoverageMapping/coroutine.cpp @@ -30,6 +30,7 @@ struct std::coroutine_traits { int get_return_object(); suspend_always initial_suspend(); suspend_always final_suspend() noexcept; + void unhandled_exception() noexcept; void return_value(int); }; };