Sign in
fuchsia
/
third_party
/
llvm-project
/
c3fd2a50ba1395b6c2240f6a688c6a1aa975a1fe
/
.
/
clang
/
test
/
Sema
/
format-string-percentm.c
blob: 02fea462946c4f55aa1c4788fa4c190247790890 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu
// expected-no-diagnostics
// PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)).
int
printf
(
char
const
*,...);
void
percentm
(
void
)
{
printf
(
"%m"
);
}