[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Lexer / modules-ts.cpp
blob06be17c536662ada232a89a6625a2979cb5822b8
1 // RUN: %clang_cc1 -fsyntax-only %s
2 // RUN: %clang_cc1 -fmodules-ts -DMODULES -fsyntax-only %s
4 #ifdef MODULES
5 #define MODULES_KEYWORD(NAME) _Static_assert(!__is_identifier(NAME), #NAME)
6 #else
7 #define MODULES_KEYWORD(NAME) _Static_assert(__is_identifier(NAME), #NAME)
8 #endif
10 MODULES_KEYWORD(import);
11 MODULES_KEYWORD(module);