[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Sema / warn-printf-insufficient-data-args.c
bloba8de7118e8b1ff29f7291627b7613a5702232315
1 // RUN: %clang_cc1 -fsyntax-only -verify=WARNING-ON %s
2 // RUN: %clang_cc1 -fsyntax-only -Wno-format-insufficient-args -verify=WARNING-OFF %s
5 int printf(const char * format, ...);
7 int main(void) {
8 int patatino = 42;
9 printf("%i %i", patatino); // WARNING-ON-warning {{more '%' conversions than data arguments}}
10 // WARNING-OFF-no-diagnostics