summaryrefslogtreecommitdiffstats
path: root/test/Sema/format-string-percentm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/format-string-percentm.c')
-rw-r--r--test/Sema/format-string-percentm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/format-string-percentm.c b/test/Sema/format-string-percentm.c
index f2e9dd8..1ffc439 100644
--- a/test/Sema/format-string-percentm.c
+++ b/test/Sema/format-string-percentm.c
@@ -1,5 +1,6 @@
// 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");
OpenPOWER on IntegriCloud