[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Misc / no-warn-in-system-macro.c
bloba351b892565fa1f024b7df0d4743d0291f00edba
1 // RUN: %clang_cc1 -isystem %S -Wdouble-promotion -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s
2 // CHECK-NOT: warning:
4 #include <no-warn-in-system-macro.c.inc>
6 #define MACRO(x) x
8 int main(void)
10 double foo = 1.0;
12 if (isnan(foo))
13 return 1;
15 MACRO(isnan(foo));
17 return 0;