[Coroutines] Make suspend_always in test noexcept (NFC)
GitOrigin-RevId: 3666cd0216b85ef962e92a5e19dea2215559b48a
diff --git a/test/CodeGenCoroutines/Inputs/coroutine.h b/test/CodeGenCoroutines/Inputs/coroutine.h
index 581c716..7c2d363 100644
--- a/test/CodeGenCoroutines/Inputs/coroutine.h
+++ b/test/CodeGenCoroutines/Inputs/coroutine.h
@@ -67,9 +67,9 @@
}
struct suspend_always {
- bool await_ready() { return false; }
- void await_suspend(coroutine_handle<>) {}
- void await_resume() {}
+ bool await_ready() noexcept { return false; }
+ void await_suspend(coroutine_handle<>) noexcept {}
+ void await_resume() noexcept {}
};
struct suspend_never {
bool await_ready() noexcept { return true; }