Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
1952354bd376062c3ab3d328c0fc6c36530c9309
/
.
/
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"
);
}