Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/coroutines/coro-builtins.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// { dg-additional-options "-fsyntax-only " } typedef __SIZE_TYPE__ size_t; int main () { void *co_h; void *promise; const size_t co_align = 16; bool d = __builtin_coro_done (co_h); __builtin_coro_resume (co_h); __builtin_coro_destroy (co_h); promise = __builtin_coro_promise (co_h, co_align, true); return 0; }