[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Sema / format-string-percentm.c
blob02fea462946c4f55aa1c4788fa4c190247790890
1 // RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu
2 // expected-no-diagnostics
4 // PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)).
5 int printf(char const*,...);
6 void percentm(void) {
7 printf("%m");