1 // RUN: %clang_cc1 -fsyntax-only %s
2 // RUN: %clang_cc1 -std=c++20 -DCORO -fsyntax-only %s
5 #define CORO_KEYWORD(NAME) _Static_assert(!__is_identifier(NAME), #NAME)
7 #define CORO_KEYWORD(NAME) _Static_assert(__is_identifier(NAME), #NAME)
10 CORO_KEYWORD(co_await
);
11 CORO_KEYWORD(co_return
);
12 CORO_KEYWORD(co_yield
);