[clang][NFC] Cleanup some coroutine tests

I noticed these two tests emit a warning about a missing
unhandled_exception.  That's irrelevant to what is being tested, but
is unnecessary noise.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D125535
This commit is contained in:
Nathan Sidwell 2022-05-13 03:52:49 -07:00
parent acc80ea71b
commit 80bebbc7cb
2 changed files with 3 additions and 0 deletions

View File

@ -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;
};
};

View File

@ -30,6 +30,7 @@ struct std::coroutine_traits<int, int> {
int get_return_object();
suspend_always initial_suspend();
suspend_always final_suspend() noexcept;
void unhandled_exception() noexcept;
void return_value(int);
};
};