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