// RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu

int printf(char const*,...);
void percentm(void) {
  printf("%m");
}

// 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");
}

Add comment to test linking it back to the original Bugzilla PR.
Add comment to test linking it back to the original Bugzilla PR.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@94816 91177308-0d34-0410-b5e6-96231b3b80d8
