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