| 1 |
|
| 2 |
void no_coroutine_traits() { |
| 3 |
co_await 4; // { dg-error {coroutines require a traits template\; cannot find 'std::coroutine_traits'} } |
| 4 |
} |
| 5 |
|
| 6 |
// check we have not messed up continuation of the compilation. |
| 7 |
template <class... Args> |
| 8 |
struct void_t_imp { |
| 9 |
using type = void; |
| 10 |
}; |