2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu
|
2009-06-02 16:36:19 +08:00
|
|
|
|
2010-01-30 02:07:41 +08:00
|
|
|
// PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)).
|
2009-06-02 16:36:19 +08:00
|
|
|
int printf(char const*,...);
|
|
|
|
void percentm(void) {
|
|
|
|
printf("%m");
|
|
|
|
}
|