1 // RUN: %clang_cc1 -fsyntax-only %s 2 // RUN: %clang_cc1 -fcoroutines -DCORO -fsyntax-only %s 3 4 #ifdef CORO 5 #define CORO_KEYWORD(NAME) _Static_assert(!__is_identifier(NAME), #NAME) 6 #else 7 #define CORO_KEYWORD(NAME) _Static_assert(__is_identifier(NAME), #NAME) 8 #endif 9 10 CORO_KEYWORD(co_await); 11 CORO_KEYWORD(co_return); 12 CORO_KEYWORD(co_yield); 13