blob: 06be17c536662ada232a89a6625a2979cb5822b8 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only %s
// RUN: %clang_cc1 -fmodules-ts -DMODULES -fsyntax-only %s
#ifdef MODULES
#define MODULES_KEYWORD(NAME) _Static_assert(!__is_identifier(NAME), #NAME)
#else
#define MODULES_KEYWORD(NAME) _Static_assert(__is_identifier(NAME), #NAME)
#endif
MODULES_KEYWORD(import);
MODULES_KEYWORD(module);