blob: e5e4ece4bd712faa52c1a56094737f2106069ece [file] [log] [blame]
// { dg-additional-options "-w" }
#include "coro.h"
using namespace std;
struct task {
struct promise_type {
promise_type() {}
task get_return_object() { return {}; }
suspend_never initial_suspend() { return {}; }
suspend_never final_suspend() noexcept { return {}; }
void return_void() {}
void unhandled_exception() {}
};
};
task foo(int) {
co_return;
}