1 | // RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | // PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)). |
5 | int printf(char const*,...); |
6 | void percentm(void) { |
7 | printf("%m"); |
8 | } |
9 |