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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Sema/format-string-percentm.c b/test/Sema/format-string-percentm.c
new file mode 100644
index 0000000..f531372
--- /dev/null
+++ b/test/Sema/format-string-percentm.c
@@ -0,0 +1,6 @@
+// RUN: clang-cc -fsyntax-only -verify %s -triple i686-pc-linux-gnu
+
+int printf(char const*,...);
+void percentm(void) {
+ printf("%m");
+}
OpenPOWER on IntegriCloud