| // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -std=c++14 -fcoroutines-ts -fsyntax-only -Wall -Wextra -Wuninitialized -fblocks |
| #include "Inputs/std-coroutine-exp-namespace.h" |
| using namespace std::experimental; |
| bool await_ready() { return true; } |
| int await_resume() { return 42; } |
| coro_t get_return_object() { return {}; } |
| suspend_never initial_suspend() { return {}; } |
| suspend_never final_suspend() noexcept { return {}; } |
| A yield_value(int) { return {}; } |
| static void unhandled_exception() {} |
| int x = co_await Await{}; |