1 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -std=c++20 -fsyntax-only -Wall -Wextra -Wuninitialized -fblocks
2 #include "Inputs/std-coroutine.h"
7 bool await_ready() { return true; }
8 int await_resume() { return 42; }
10 void await_suspend(F
) {}
16 coro_t
get_return_object() { return {}; }
17 suspend_never
initial_suspend() { return {}; }
18 suspend_never
final_suspend() noexcept
{ return {}; }
19 A
yield_value(int) { return {}; }
21 static void unhandled_exception() {}
32 template <class Await
>
37 int x
= co_await Await
{};