Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6a9bb30819628f312a3d99f67221f7e796a38e83
/
.
/
test
/
Sema
/
format-string-percentm.c
blob: 1ffc439af07a83d39f1a0a1b98d8b0de5a173ee6 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu
// PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)).
int
printf
(
char
const
*,...);
void
percentm
(
void
)
{
printf
(
"%m"
);
}