Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/coroutines/pr94817.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 2b5abeee2509 |
children |
line wrap: on
line source
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; };