blob: 8f667bb942b48a60f19cd5c55a8ca239f90c98cb [file] [log] [blame]
void no_coroutine_traits() {
co_await 4; // { dg-error {coroutines require a traits template\; cannot find 'std::coroutine_traits'} }
}
// check we have not messed up continuation of the compilation.
template <class... Args>
struct void_t_imp {
using type = void;
};