repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
Sema
/
format-string-percentm.c
blob
02fea462946c4f55aa1c4788fa4c190247790890
1
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu
2
// expected-no-diagnostics
3
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"
);
8
}